mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 08:38:13 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue