]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence unused-parameter warning
authorMark Andrews <marka@isc.org>
Wed, 26 Apr 2017 23:48:29 +0000 (09:48 +1000)
committerMark Andrews <marka@isc.org>
Wed, 26 Apr 2017 23:48:29 +0000 (09:48 +1000)
lib/dns/view.c

index 4a8a55d52ed38f20b7b0fbbef176c23e66afe269..43386309bce16c040332ff46ea4a2c661a4352af 100644 (file)
@@ -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);