From: Mark Andrews Date: Fri, 5 Sep 2014 01:39:42 +0000 (+1000) Subject: move declaration to start of block X-Git-Tag: v9.11.0a1~1378^2~58 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=06dbd20c667e899dbf429234c6d264bd01f3be54;p=thirdparty%2Fbind9.git move declaration to start of block --- diff --git a/lib/dns/badcache.c b/lib/dns/badcache.c index 8b9939c3d65..ddbd6511f52 100644 --- a/lib/dns/badcache.c +++ b/lib/dns/badcache.c @@ -303,16 +303,16 @@ dns_badcache_flush(dns_badcache_t *bc) { void dns_badcache_flushname(dns_badcache_t *bc, dns_name_t *name) { - unsigned int i; dns_bcentry_t *bad, *prev, *next; + isc_result_t result; + isc_time_t now; + unsigned int i; REQUIRE(VALID_BADCACHE(bc)); REQUIRE(name != NULL); LOCK(&bc->lock); - isc_time_t now; - isc_result_t result; result = isc_time_now(&now); if (result != ISC_R_SUCCESS) isc_time_settoepoch(&now);