From e3d40c376cdccc0e771e90ce6dc3b8b044ced586 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 29 May 2015 13:21:47 +0200 Subject: fixed GCC compiler warning --- src/clients.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clients.c b/src/clients.c index 68c6fb6..926373c 100644 --- a/src/clients.c +++ b/src/clients.c @@ -236,6 +236,7 @@ static char* client_fd_state_to_string(client_fd_state_t s) case FIN_LINGER: return "FIN linger"; case CLOSE_PENDING: return "CLOSE pending"; } + return ""; /* Hey GCC: shut up! */ } void clients_read_fds(clients_t* list, fd_set* set, int* max_fd) -- cgit v1.2.3