]> 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:27:31 +0000 (07:27 +1000)
(cherry picked from commit 179f5156910cdd95025cf64ba89e7362489e941d)

lib/dns/view.c

index fa87898f2230246d400109a1fb4a7a62ee56cbd5..3730593b9e37383835bc32fe4781198f79a96067 100644 (file)
@@ -1219,7 +1219,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);