]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Initialize a couple of pointers.
authorTed Lemon <source@isc.org>
Fri, 16 Mar 2001 01:57:00 +0000 (01:57 +0000)
committerTed Lemon <source@isc.org>
Fri, 16 Mar 2001 01:57:00 +0000 (01:57 +0000)
server/mdb.c

index a009c03d2d6d9b99113534374119bf91663e3946..21d63e4721cc64670e6b6d9b30f2b2cdd878ebfa 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: mdb.c,v 1.55 2001/03/15 23:22:33 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: mdb.c,v 1.56 2001/03/16 01:57:00 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1488,7 +1488,7 @@ void uid_hash_add (lease)
        struct lease *lease;
 {
        struct lease *head = (struct lease *)0;
-       struct lease *scan = (struct lease *)0, *next;
+       struct lease *next = (struct lease *)0;
 
 
        /* If it's not in the hash, just add it. */
@@ -1591,7 +1591,7 @@ void hw_hash_delete (lease)
        struct lease *lease;
 {
        struct lease *head = (struct lease *)0;
-       struct lease *next;
+       struct lease *next = (struct lease *)0;
 
        /* If it's not in the hash, we have no work to do. */
        if (!find_lease_by_hw_addr (&head, lease -> hardware_addr.hbuf,