From: Thomas Markwalder Date: Fri, 10 Apr 2015 18:04:29 +0000 (-0400) Subject: [master] Fixed unused variable error introduced by 21235 X-Git-Tag: v4_3_3b1~34^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=158ffa9064cb5fe4bd51adc1ee69573c18c776d7;p=thirdparty%2Fdhcp.git [master] Fixed unused variable error introduced by 21235 server/dhcpv6.c - removed unused variable --- diff --git a/server/dhcpv6.c b/server/dhcpv6.c index ad26fce46..a9cab1fea 100644 --- a/server/dhcpv6.c +++ b/server/dhcpv6.c @@ -7165,8 +7165,6 @@ get_first_ia_addr_val (struct packet* packet, int addr_type, /* Find the first, non-blank IA_XX value within an D6O_IA_XX option. */ for (ia = lookup_option(&dhcpv6_universe, packet->options, addr_type); ia != NULL && oc == NULL; ia = ia->next) { - u_int32_t iaid; - if (!get_encapsulated_IA_state(&cli_enc_opt_state, &cli_enc_opt_data, packet, ia, addr_opt_offset)) { @@ -7175,7 +7173,6 @@ get_first_ia_addr_val (struct packet* packet, int addr_type, return (ISC_R_FAILURE); } - iaid = getULong(cli_enc_opt_data.data); oc = lookup_option(&dhcpv6_universe, cli_enc_opt_state, addr_opt); if (oc == NULL) {