From dd03a03a77356e786d692cf283082b6bfd06c612 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 24 Oct 2012 15:37:11 -0700 Subject: [PATCH] [v9_8] silence unused variable warning --- lib/dns/view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dns/view.c b/lib/dns/view.c index 5166ae44d1..7b83af547d 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -482,7 +482,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; +#endif LOCK(&view->lock); if (!RESSHUTDOWN(view))