fix: nil: Fix Coverity issue 640332/640331

Merge branch 'matthijs-cid-640332' into 'main'

See merge request isc-projects/bind9!11414
This commit is contained in:
Matthijs Mekking 2026-01-02 08:52:49 +00:00
commit 6cbc0fae44

View file

@ -1297,7 +1297,6 @@ named_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
} else {
notifytype = dns_notifytype_no;
}
notifytype = cfg_obj_asboolean(obj);
} else {
const char *str = cfg_obj_asstring(obj);
if (strcasecmp(str, "explicit") == 0) {