[master] silence unused variable warning

This commit is contained in:
Evan Hunt 2012-10-24 15:36:04 -07:00
parent c241017dcd
commit 98f9571bd9

View file

@ -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))