Date: Tue, 19 Jan 2016 01:41:19 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r294305 - stable/10/tools/regression/sockets/unix_gc Message-ID: <201601190141.u0J1fJOj084949@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Tue Jan 19 01:41:19 2016 New Revision: 294305 URL: https://svnweb.freebsd.org/changeset/base/294305 Log: MFC r294128: Fix -Wunused warning with clang/gcc - Get rid of unused argc/argv variables in main - Bump WARNS to 6 Modified: stable/10/tools/regression/sockets/unix_gc/Makefile stable/10/tools/regression/sockets/unix_gc/unix_gc.c Directory Properties: stable/10/ (props changed) Modified: stable/10/tools/regression/sockets/unix_gc/Makefile ============================================================================== --- stable/10/tools/regression/sockets/unix_gc/Makefile Tue Jan 19 01:39:29 2016 (r294304) +++ stable/10/tools/regression/sockets/unix_gc/Makefile Tue Jan 19 01:41:19 2016 (r294305) @@ -2,6 +2,6 @@ PROG= unix_gc MAN= -WARNS?= 3 +WARNS?= 6 .include <bsd.prog.mk> Modified: stable/10/tools/regression/sockets/unix_gc/unix_gc.c ============================================================================== --- stable/10/tools/regression/sockets/unix_gc/unix_gc.c Tue Jan 19 01:39:29 2016 (r294304) +++ stable/10/tools/regression/sockets/unix_gc/unix_gc.c Tue Jan 19 01:41:19 2016 (r294305) @@ -752,7 +752,7 @@ recursion(void) #define RMDIR "rm -Rf " int -main(int argc, char *argv[]) +main(void) { char cmd[sizeof(RMDIR) + PATH_MAX]; int serrno;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601190141.u0J1fJOj084949>