From: Mark Andrews Date: Mon, 4 Apr 2011 23:09:43 +0000 (+0000) Subject: move declartations to start of block X-Git-Tag: v4_3_0a1~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1405aa2ddc30894b8c461edd18ae2fe14610b09b;p=thirdparty%2Fdhcp.git move declartations to start of block --- diff --git a/client/dhclient.c b/client/dhclient.c index 296dd1e10..d30bd0b38 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -3039,10 +3039,11 @@ void client_option_envadd (struct option_cache *oc, if (dhcp_option_ev_name (name, sizeof name, oc->option)) { const char *value; + size_t length; value = pretty_print_option(oc->option, data.data, data.len, 0, 0); - size_t length = strlen(value); + length = strlen(value); if (check_option_values(oc->option->universe, oc->option->code,