mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Fix use of uninitialised Nflag
Initialise Nflag to 0 preventing use of uninitialised value. Reported by: uqs MFC after: 1 week X-MFC-With: r292266 Sponsored by: Multiplay Differential Revision: https://reviews.freebsd.org/D4449
This commit is contained in:
parent
4f18ce8ae0
commit
0f79b5d72b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292947
@ -76,7 +76,7 @@ main(int argc, char *argv[])
|
||||
howto = RB_HALT;
|
||||
} else
|
||||
howto = 0;
|
||||
lflag = nflag = qflag = 0;
|
||||
lflag = nflag = qflag = Nflag = 0;
|
||||
while ((ch = getopt(argc, argv, "dk:lNnpqr")) != -1)
|
||||
switch(ch) {
|
||||
case 'd':
|
||||
|
Loading…
Reference in New Issue
Block a user