From: Mark Andrews Date: Wed, 28 Aug 2013 02:25:33 +0000 (+1000) Subject: address: dhcpv6.c: In function 'reply_process_ia_ta': dhcpv6.c:2784: warning: 'p... X-Git-Tag: v4_3_0a1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ef85cf1e6dd927195f9f1f0afb8b97373691d7;p=thirdparty%2Fdhcp.git address: dhcpv6.c: In function 'reply_process_ia_ta': dhcpv6.c:2784: warning: 'p' might be used uninitialized in this function --- 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;