Commit 6a52c54a authored by Mark Andrews's avatar Mark Andrews

cfg_parse_boolean's REQUIRE test for ret was incomplete.

(cherry picked from commit f1ee5e4a)
parent 06c0d394
Pipeline #2678 passed with stages
in 6 minutes and 19 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment