From 98f9571bd9c1e87ecf0eeb33a7633de887419dc2 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 24 Oct 2012 15:36:04 -0700 Subject: [PATCH] [master] 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 1fd2f2076d..2763b491d5 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))