2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

cfg_parse_boolean's REQUIRE test for ret was incomplete.

This commit is contained in:
Mark Andrews
2018-06-27 11:10:59 +10:00
parent f553dac1b0
commit f1ee5e4a16

View File

@@ -1304,7 +1304,7 @@ cfg_parse_boolean(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret)
cfg_obj_t *obj = NULL;
REQUIRE(pctx != NULL);
REQUIRE(ret != NULL && ret != NULL);
REQUIRE(ret != NULL && *ret == NULL);
UNUSED(type);