diff --git a/dhcp.c b/dhcp.c index cca056e2..4a4e1300 100644 --- a/dhcp.c +++ b/dhcp.c @@ -754,7 +754,7 @@ struct lease *find_lease (packet) struct lease *uid_lease, *ip_lease, *hw_lease; struct lease *lease = (struct lease *)0; struct iaddr cip; - struct host_decl *hp, *host; + struct host_decl *hp, *host = (struct host_decl *)0; struct lease *fixed_lease; /* Try to find a host or lease that's been assigned to the diff --git a/server/dhcp.c b/server/dhcp.c index cca056e2..4a4e1300 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -754,7 +754,7 @@ struct lease *find_lease (packet) struct lease *uid_lease, *ip_lease, *hw_lease; struct lease *lease = (struct lease *)0; struct iaddr cip; - struct host_decl *hp, *host; + struct host_decl *hp, *host = (struct host_decl *)0; struct lease *fixed_lease; /* Try to find a host or lease that's been assigned to the