Date: Fri, 10 Apr 2015 08:01: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: r281356 - head/tools/regression/sockets/kqueue Message-ID: <201504100801.t3A81oNW043638@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Apr 10 08:01:49 2015 New Revision: 281356 URL: https://svnweb.freebsd.org/changeset/base/281356 Log: Fix -Wunused warnings, bump WARNS to 6 The output is still broken if prove -rv is run and the testcase aborts prematurely with fail_assertion (the testcase doesn't really conform to TAP protocol properly, except when it completes fully) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/kqueue/Makefile head/tools/regression/sockets/kqueue/kqueue.c Modified: head/tools/regression/sockets/kqueue/Makefile ============================================================================== --- head/tools/regression/sockets/kqueue/Makefile Fri Apr 10 07:59:46 2015 (r281355) +++ head/tools/regression/sockets/kqueue/Makefile Fri Apr 10 08:01:49 2015 (r281356) @@ -4,5 +4,6 @@ PROG= kqueue MAN= +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/kqueue/kqueue.c ============================================================================== --- head/tools/regression/sockets/kqueue/kqueue.c Fri Apr 10 07:59:46 2015 (r281355) +++ head/tools/regression/sockets/kqueue/kqueue.c Fri Apr 10 08:01:49 2015 (r281356) @@ -250,9 +250,9 @@ test_evfilt_write(int kq, int fd[2], con * sockets, and confirm that we can register for various events on them. */ int -main(int argc, char *argv[]) +main(void) { - int i, kq, sv[2]; + int kq, sv[2]; printf("1..49\n");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504100801.t3A81oNW043638>