about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-06-13 15:43:14 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-06-13 15:43:14 +0200
commit9dc80af52106832b1ad58868c4c0314c93e9f6d5 (patch)
treed642738ed2d32b649c2a68a2efd6a361530c2e7d
parentd0019da655d068497ab583d0368552b6bc20aa43 (diff)
downloadextrace-9dc80af52106832b1ad58868c4c0314c93e9f6d5.tar.gz
extrace-9dc80af52106832b1ad58868c4c0314c93e9f6d5.tar.xz
extrace-9dc80af52106832b1ad58868c4c0314c93e9f6d5.zip
pwait: silence a warning v0.2
-rw-r--r--pwait.c3
1 files changed, 2 insertions, 1 deletions
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 <chneukirchen@gmail.com>
+ * Copyright (C) 2014-2016 Christian Neukirchen <chneukirchen@gmail.com>
  *
  * hacked from sources of:
  */
@@ -113,6 +113,7 @@ sig_atomic_t quit = 0;
 static void
 sigint(int sig)
 {
+	(void)sig;
 	quit = 1;
 }