]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] silence unused variable warning
authorEvan Hunt <each@isc.org>
Wed, 24 Oct 2012 22:36:04 +0000 (15:36 -0700)
committerEvan Hunt <each@isc.org>
Wed, 24 Oct 2012 22:36:04 +0000 (15:36 -0700)
lib/dns/view.c

index 1fd2f2076d960e10c776034ea599e0c1938b3946..2763b491d539a51094f6c767f4828a3f45ccbcbf 100644 (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))