From: David Hankins Date: Thu, 11 May 2006 16:35:56 +0000 (+0000) Subject: Correcting an uninitialized use warning on HEAD [ISC-Bugs #16025]. X-Git-Tag: DHCPv6_parsing_base~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d31555c9e932b87bb57bede437099e8d382980c0;p=thirdparty%2Fdhcp.git Correcting an uninitialized use warning on HEAD [ISC-Bugs #16025]. --- diff --git a/server/confpars.c b/server/confpars.c index ec2e68915..0338b896e 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -34,7 +34,7 @@ #ifndef lint 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 */ #include "dhcpd.h" @@ -3391,11 +3391,13 @@ int parse_allow_deny (oc, cfile, flag) token = next_token(&val, NULL, cfile); if (token != IS) { parse_warn(cfile, "Expecting 'is reserved'."); + status = 0; break; } token = next_token(&val, NULL, cfile); if (token != TOKEN_RESERVED) { parse_warn(cfile, "Expecting 'reserved'."); + status = 0; break; }