2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Compiler warnings (a few were bugfixes internal to HEAD development) silenced.

[ISC-Bugs #16133]
This commit is contained in:
David Hankins
2006-06-05 16:42:59 +00:00
parent 41c3f761a3
commit d19e2cf7de
4 changed files with 18 additions and 16 deletions

View File

@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
"$Id: parse.c,v 1.110 2006/06/01 20:23:17 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
"$Id: parse.c,v 1.111 2006/06/05 16:42:58 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -1079,7 +1079,7 @@ void parse_option_space_decl (cfile)
default:
parse_warn(cfile, "invalid code width (%d), "
"expecting a 1, 2 or 4.",
val);
tsize);
goto bad;
}
break;
@@ -1100,7 +1100,7 @@ void parse_option_space_decl (cfile)
lsize = atoi(val);
if (lsize != 1 && lsize != 2) {
parse_warn(cfile, "invalid length width (%d) "
"expecting 1 or 2.", val);
"expecting 1 or 2.", lsize);
goto bad;
}