Date: Sat, 11 Apr 2015 03:24:50 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281397 - head/tools/regression/sockets/sigpipe Message-ID: <201504110324.t3B3OoUP030170@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Apr 11 03:24:49 2015 New Revision: 281397 URL: https://svnweb.freebsd.org/changeset/base/281397 Log: Mark signum unused in signal_handler; bump WARNS to 6 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/sigpipe/Makefile head/tools/regression/sockets/sigpipe/sigpipe.c Modified: head/tools/regression/sockets/sigpipe/Makefile ============================================================================== --- head/tools/regression/sockets/sigpipe/Makefile Sat Apr 11 03:23:41 2015 (r281396) +++ head/tools/regression/sockets/sigpipe/Makefile Sat Apr 11 03:24:49 2015 (r281397) @@ -4,6 +4,6 @@ PROG= sigpipe MAN= -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/sigpipe/sigpipe.c ============================================================================== --- head/tools/regression/sockets/sigpipe/sigpipe.c Sat Apr 11 03:23:41 2015 (r281396) +++ head/tools/regression/sockets/sigpipe/sigpipe.c Sat Apr 11 03:24:49 2015 (r281397) @@ -69,7 +69,7 @@ got_signal(void) } static void -signal_handler(int signum) +signal_handler(int signum __unused) { signaled = 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504110324.t3B3OoUP030170>