From a5e5bab74b17ed85c0b61efb564f13120b8123b7 Mon Sep 17 00:00:00 2001 From: Francois Perrad <francois.perrad@gadz.org> Date: Fri, 1 Jan 2016 09:03:55 +0100 Subject: [PATCH] Suspicious use of ; --- svr-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr-main.c b/svr-main.c index 1b9f86a1..9252bb62 100644 --- a/svr-main.c +++ b/svr-main.c @@ -338,7 +338,7 @@ static void sigchld_handler(int UNUSED(unused)) { const int saved_errno = errno; - while(waitpid(-1, NULL, WNOHANG) > 0); + while(waitpid(-1, NULL, WNOHANG) > 0) {} sa_chld.sa_handler = sigchld_handler; sa_chld.sa_flags = SA_NOCLDSTOP; -- GitLab