From 9dc80af52106832b1ad58868c4c0314c93e9f6d5 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 13 Jun 2016 15:43:14 +0200 Subject: pwait: silence a warning --- pwait.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwait.c b/pwait.c index b635fd0..4f0c76a 100644 --- a/pwait.c +++ b/pwait.c @@ -7,7 +7,7 @@ * -v Print the exit status when each process terminates. * -c Check for PIDs to exit successfully, else return 111. * - * Copyright (C) 2014 Christian Neukirchen + * Copyright (C) 2014-2016 Christian Neukirchen * * hacked from sources of: */ @@ -113,6 +113,7 @@ sig_atomic_t quit = 0; static void sigint(int sig) { + (void)sig; quit = 1; } -- cgit 1.4.1