From: Mark Andrews Date: Wed, 20 May 2020 01:56:01 +0000 (+1000) Subject: Set obj to NULL so INSIST makes sense X-Git-Tag: v9.17.2~61^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac9e2667496d26bc624a00dc4491faf9de84fbd3;p=thirdparty%2Fbind9.git Set obj to NULL so INSIST makes sense --- diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index 785d392e7b2..f151c45845c 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -1432,6 +1432,7 @@ named_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig, INSIST(result == ISC_R_SUCCESS); dns_zone_setrequestixfr(zone, cfg_obj_asboolean(obj)); + obj = NULL; checknames(ztype, maps, &obj); INSIST(obj != NULL); if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {