]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Initialize declaration variable
authorTed Lemon <source@isc.org>
Tue, 31 Dec 1996 02:01:28 +0000 (02:01 +0000)
committerTed Lemon <source@isc.org>
Tue, 31 Dec 1996 02:01:28 +0000 (02:01 +0000)
confpars.c
server/confpars.c

index 76e8606aa84bf6e4ac818367ba8b90f49e917920..5b3b47c10e332ae0cca44d80d30f1e46000582c7 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: confpars.c,v 1.36 1996/11/08 20:06:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: confpars.c,v 1.37 1996/12/31 02:01:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -608,7 +608,7 @@ void parse_class_declaration (cfile, group, type)
        char *val;
        int token;
        struct class *class;
-       int declaration;
+       int declaration = 0;
 
        token = next_token (&val, cfile);
        if (token != STRING) {
index 76e8606aa84bf6e4ac818367ba8b90f49e917920..5b3b47c10e332ae0cca44d80d30f1e46000582c7 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: confpars.c,v 1.36 1996/11/08 20:06:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: confpars.c,v 1.37 1996/12/31 02:01:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -608,7 +608,7 @@ void parse_class_declaration (cfile, group, type)
        char *val;
        int token;
        struct class *class;
-       int declaration;
+       int declaration = 0;
 
        token = next_token (&val, cfile);
        if (token != STRING) {