]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence unused variable warning
authorMark Andrews <marka@isc.org>
Sun, 24 Aug 2014 21:26:57 +0000 (07:26 +1000)
committerMark Andrews <marka@isc.org>
Sun, 24 Aug 2014 21:26:57 +0000 (07:26 +1000)
lib/dns/view.c

index 3c2f1306ac2646365b7777ab6c7e6e01a7677cea..5b83dbd687a5597ab79620c05c7684d62f7f01f3 100644 (file)
@@ -1198,7 +1198,9 @@ dns_view_findzonecut2(dns_view_t *view, dns_name_t *name, dns_name_t *fname,
        dns_name_t *zfname;
        dns_rdataset_t zrdataset, zsigrdataset;
        dns_fixedname_t zfixedname;
+#ifdef BIND9
        unsigned int ztoptions = 0;
+#endif
 
 #ifndef BIND9
        UNUSED(zone);