From: Mark Andrews Date: Sun, 24 Aug 2014 21:26:57 +0000 (+1000) Subject: silence unused variable warning X-Git-Tag: v9.8.8rc1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=179f5156910cdd95025cf64ba89e7362489e941d;p=thirdparty%2Fbind9.git silence unused variable warning --- diff --git a/lib/dns/view.c b/lib/dns/view.c index 3c2f1306ac2..5b83dbd687a 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -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);