uint32_t u32;
int32_t s32;
struct in_addr addr;
- ssize_t bytes = 0, sl;
+ ssize_t sl;
size_t l;
/* Ensure a valid length */
if (opt->type & OT_BITFLAG) {
/* bitflags are a string, MSB first, such as ABCDEFGH
* where A is 10000000, B is 01000000, etc. */
- bytes = 0;
for (l = 0, sl = sizeof(opt->bitflags) - 1;
l < sizeof(opt->bitflags);
l++, sl--)
struct in_addr net;
struct in_addr brd;
struct dhcp_opt *opt, *vo;
- size_t e, i, pl;
+ size_t i, pl;
char safe[(BOOTP_FILE_LEN * 4) + 1];
uint8_t overl = 0;
uint32_t en;
- e = 0;
ifo = ifp->options;
if (get_option_uint8(ifp->ctx, &overl, bootp, bootp_len,
DHO_OPTSOVERLOADED) == -1)
struct dhcp_opt *opt, *vo;
const uint8_t *p;
struct dhcp6_option o;
- size_t i, n;
+ size_t i;
char *pfx;
uint32_t en;
const struct dhcpcd_ctx *ctx;
const struct ipv6_addr *ap;
#endif
- n = 0;
if (m == NULL)
goto delegated;