summaryrefslogtreecommitdiff
path: root/tools/polldaemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/polldaemon.c')
-rw-r--r--tools/polldaemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/polldaemon.c b/tools/polldaemon.c
index 34cc90cb6..a784cb8ff 100644
--- a/tools/polldaemon.c
+++ b/tools/polldaemon.c
@@ -18,7 +18,7 @@
#include <signal.h>
#include <sys/wait.h>
-static void _sigchld_handler(int sig)
+static void _sigchld_handler(int sig __attribute((unused)))
{
while (wait4(-1, NULL, WNOHANG | WUNTRACED, NULL) > 0) ;
}