silence unused-parameter warning

(cherry picked from commit cc3ebbfd91)
This commit is contained in:
Mark Andrews
2017-04-27 09:50:36 +10:00
parent af0d9b7705
commit 91ccb395a9
+4
View File
@@ -1995,6 +1995,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);