From: Mark Andrews Date: Wed, 26 Apr 2017 23:48:29 +0000 (+1000) Subject: silence unused-parameter warning X-Git-Tag: v9.12.0a1~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc3ebbfd915f64e1542038359fda1f41156cbd7b;p=thirdparty%2Fbind9.git silence unused-parameter warning --- diff --git a/lib/dns/view.c b/lib/dns/view.c index 4a8a55d52ed..43386309bce 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -2040,6 +2040,10 @@ dns_view_setnewzones(dns_view_t *view, isc_boolean_t allow, void *cfgctx, int status; #endif +#ifndef HAVE_LMDB + UNUSED(mapsize); +#endif + REQUIRE(DNS_VIEW_VALID(view)); REQUIRE((cfgctx != NULL && cfg_destroy != NULL) || !allow);