Print this page
8485 Remove set but unused variables in usr/src/cmd

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* + * Copyright 2017 Gary Mills * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /*
*** 582,592 **** static void show_options(const uint8_t *data, int len) { dhcpv6_option_t d6o; ! uint_t olen, retlen; uint16_t val16; uint16_t type; uint32_t val32; const uint8_t *ostart; char *str, *sp; --- 583,593 ---- static void show_options(const uint8_t *data, int len) { dhcpv6_option_t d6o; ! uint_t olen; uint16_t val16; uint16_t type; uint32_t val32; const uint8_t *ostart; char *str, *sp;
*** 764,774 **** break; case DHCPV6_OPT_RELAY_MSG: if (olen > 0) { oldnest = prot_nest_prefix; prot_nest_prefix = prot_prefix; ! retlen = interpret_dhcpv6(F_DTAIL, data, olen); prot_prefix = prot_nest_prefix; prot_nest_prefix = oldnest; } break; case DHCPV6_OPT_AUTH: { --- 765,775 ---- break; case DHCPV6_OPT_RELAY_MSG: if (olen > 0) { oldnest = prot_nest_prefix; prot_nest_prefix = prot_prefix; ! (void) interpret_dhcpv6(F_DTAIL, data, olen); prot_prefix = prot_nest_prefix; prot_nest_prefix = oldnest; } break; case DHCPV6_OPT_AUTH: {