From cc3ebbfd915f64e1542038359fda1f41156cbd7b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 27 Apr 2017 09:48:29 +1000 Subject: [PATCH] silence unused-parameter warning --- lib/dns/view.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dns/view.c b/lib/dns/view.c index 4a8a55d52e..43386309bc 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);