From: Evan Hunt Date: Wed, 24 Oct 2012 22:36:04 +0000 (-0700) Subject: [master] silence unused variable warning X-Git-Tag: v9.10.0a1~770 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=98f9571bd9c1e87ecf0eeb33a7633de887419dc2;p=thirdparty%2Fbind9.git [master] silence unused variable warning --- diff --git a/lib/dns/view.c b/lib/dns/view.c index 1fd2f2076d9..2763b491d53 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -490,7 +490,9 @@ view_flushanddetach(dns_view_t **viewp, isc_boolean_t flush) { view->flush = ISC_TRUE; isc_refcount_decrement(&view->references, &refs); if (refs == 0) { +#ifdef BIND9 dns_zone_t *mkzone = NULL, *rdzone = NULL; +#endif LOCK(&view->lock); if (!RESSHUTDOWN(view))