From f1ef85cf1e6dd927195f9f1f0afb8b97373691d7 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 28 Aug 2013 12:25:33 +1000 Subject: [PATCH] address: dhcpv6.c: In function 'reply_process_ia_ta': dhcpv6.c:2784: warning: 'p' might be used uninitialized in this function --- server/dhcpv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/dhcpv6.c b/server/dhcpv6.c index b65026b35..7008817a6 100644 --- a/server/dhcpv6.c +++ b/server/dhcpv6.c @@ -2781,7 +2781,7 @@ temporary_is_available(struct reply_state *reply, struct iaddr *addr) { static isc_result_t find_client_temporaries(struct reply_state *reply) { int i; - struct ipv6_pool *p; + struct ipv6_pool *p = NULL; struct ipv6_pond *pond; isc_result_t status = ISC_R_NORESOURCES;; unsigned int attempts; -- 2.47.2