Date: Sat, 11 Apr 2015 02:59:46 +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: r281392 - head/tools/regression/sockets/rtsocket Message-ID: <201504110259.t3B2xk7r015484@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Apr 11 02:59:45 2015 New Revision: 281392 URL: https://svnweb.freebsd.org/changeset/base/281392 Log: - Garbage collect argc/argv (-Wunused) - Bump WARNS to 6 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/rtsocket/Makefile head/tools/regression/sockets/rtsocket/rtsocket.c Modified: head/tools/regression/sockets/rtsocket/Makefile ============================================================================== --- head/tools/regression/sockets/rtsocket/Makefile Sat Apr 11 02:50:44 2015 (r281391) +++ head/tools/regression/sockets/rtsocket/Makefile Sat Apr 11 02:59:45 2015 (r281392) @@ -2,6 +2,6 @@ PROG= rtsocket MAN= -WARNS?= 3 +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/rtsocket/rtsocket.c ============================================================================== --- head/tools/regression/sockets/rtsocket/rtsocket.c Sat Apr 11 02:50:44 2015 (r281391) +++ head/tools/regression/sockets/rtsocket/rtsocket.c Sat Apr 11 02:59:45 2015 (r281392) @@ -41,7 +41,7 @@ #include <unistd.h> int -main(int argc, char *argv[]) +main(void) { int sock, socks[2];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504110259.t3B2xk7r015484>