Bump WARNS=6 by adding const constraint and initialize the pointer

to NULL at start.
This commit is contained in:
Xin LI 2005-01-17 13:47:05 +00:00
parent f5c4146d5a
commit a074c8897c
2 changed files with 3 additions and 2 deletions

View File

@ -2,5 +2,6 @@
# $FreeBSD$
PROG= mkfifo
WARNS?= 6
.include <bsd.prog.mk>

View File

@ -65,8 +65,8 @@ static int f_mode;
int
main(int argc, char *argv[])
{
char *modestr;
void *modep;
const char *modestr = NULL;
const void *modep;
mode_t fifomode;
int ch, exitval;