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);