From: Evan Hunt Date: Wed, 4 Jan 2017 19:17:06 +0000 (-0800) Subject: [master] remove inline variable declaration (broke win32) X-Git-Tag: v9.12.0a1~555 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6d25cd0502d8b8e8fa008635eff278932e752b7d;p=thirdparty%2Fbind9.git [master] remove inline variable declaration (broke win32) --- diff --git a/lib/dns/message.c b/lib/dns/message.c index c0b7a3bb837..5a557add573 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -2292,7 +2292,8 @@ dns_message_renderend(dns_message_t *msg) { */ if (msg->padding_off > 0) { unsigned char *cp = isc_buffer_used(msg->buffer); - isc_uint16_t len; + unsigned int used, remaining; + isc_uint16_t len, padsize; /* Check PAD */ if ((cp[-4] != 0) || @@ -2305,8 +2306,6 @@ dns_message_renderend(dns_message_t *msg) { * Zero-fill the PAD to the computed size; * patch PAD length and OPT rdlength */ - unsigned int used, remaining; - isc_uint16_t padsize; /* Aligned used length + reserved to padding block */ used = isc_buffer_usedlength(msg->buffer);