Fix -Wunused warning with clang/gcc

- Get rid of unused argc/argv variables in main
- Bump WARNS to 6

MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-01-16 02:19:56 +00:00
parent cc67e311d5
commit f4ce06a920
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294128
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@
PROG= unix_gc
MAN=
WARNS?= 3
WARNS?= 6
.include <bsd.prog.mk>

View File

@ -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;