mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Set obj to NULL so INSIST makes sense
This commit is contained in:
@@ -1432,6 +1432,7 @@ named_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
|
|||||||
INSIST(result == ISC_R_SUCCESS);
|
INSIST(result == ISC_R_SUCCESS);
|
||||||
dns_zone_setrequestixfr(zone, cfg_obj_asboolean(obj));
|
dns_zone_setrequestixfr(zone, cfg_obj_asboolean(obj));
|
||||||
|
|
||||||
|
obj = NULL;
|
||||||
checknames(ztype, maps, &obj);
|
checknames(ztype, maps, &obj);
|
||||||
INSIST(obj != NULL);
|
INSIST(obj != NULL);
|
||||||
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
|
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
|
||||||
|
Reference in New Issue
Block a user