mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Bump WARNS=6 by adding const constraint and initialize the pointer
to NULL at start.
This commit is contained in:
parent
f5c4146d5a
commit
a074c8897c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140382
|
@ -2,5 +2,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= mkfifo
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue