diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-11 03:24:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-11 03:24:49 +0000 |
commit | 3de93701b13b22216ab9b0093542df5a95f31d59 (patch) | |
tree | bbf75b2df5dd9a73b4ef414b8c8c4868dd114682 /tools | |
parent | 94f110f31347dc79883dc4c041bb750c9f07e7d2 (diff) | |
download | FreeBSD-src-3de93701b13b22216ab9b0093542df5a95f31d59.zip FreeBSD-src-3de93701b13b22216ab9b0093542df5a95f31d59.tar.gz |
Mark signum unused in signal_handler; bump WARNS to 6
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/sockets/sigpipe/Makefile | 2 | ||||
-rw-r--r-- | tools/regression/sockets/sigpipe/sigpipe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/sockets/sigpipe/Makefile b/tools/regression/sockets/sigpipe/Makefile index 030703e..5116701 100644 --- a/tools/regression/sockets/sigpipe/Makefile +++ b/tools/regression/sockets/sigpipe/Makefile @@ -4,6 +4,6 @@ PROG= sigpipe MAN= -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/tools/regression/sockets/sigpipe/sigpipe.c b/tools/regression/sockets/sigpipe/sigpipe.c index 641536a..894d9de 100644 --- a/tools/regression/sockets/sigpipe/sigpipe.c +++ b/tools/regression/sockets/sigpipe/sigpipe.c @@ -69,7 +69,7 @@ got_signal(void) } static void -signal_handler(int signum) +signal_handler(int signum __unused) { signaled = 1; |