From 40fce873845fa216f28aab2571e6c16cd57f9ab0 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 24 Oct 2012 15:36:22 -0700 Subject: [PATCH] [v9_9] 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 3746733a91..dcf0ceb9e1 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -485,7 +485,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))