2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Correcting an uninitialized use warning on HEAD [ISC-Bugs #16025].

This commit is contained in:
David Hankins
2006-05-11 16:35:56 +00:00
parent 2714a8efde
commit d31555c9e9

View File

@@ -34,7 +34,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: confpars.c,v 1.152 2006/05/05 20:32:30 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; "$Id: confpars.c,v 1.153 2006/05/11 16:35:56 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -3391,11 +3391,13 @@ int parse_allow_deny (oc, cfile, flag)
token = next_token(&val, NULL, cfile); token = next_token(&val, NULL, cfile);
if (token != IS) { if (token != IS) {
parse_warn(cfile, "Expecting 'is reserved'."); parse_warn(cfile, "Expecting 'is reserved'.");
status = 0;
break; break;
} }
token = next_token(&val, NULL, cfile); token = next_token(&val, NULL, cfile);
if (token != TOKEN_RESERVED) { if (token != TOKEN_RESERVED) {
parse_warn(cfile, "Expecting 'reserved'."); parse_warn(cfile, "Expecting 'reserved'.");
status = 0;
break; break;
} }