CID 469729: Control flow issue in lib/isccfg/kaspconf.c
Coverity Scan claims a control flow issue in lib/isccfg/kaspconf.c
after !8515 (merged).
*** CID 469729: Control flow issues (UNREACHABLE)
/lib/isccfg/kaspconf.c: 300 in cfg_nsec3param_fromconfig()
294 if (iter != DEFAULT_NSEC3PARAM_ITER) {
295 cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
296 "dnssec-policy: nsec3 iterations value %u "
297 "not allowed, must be zero",
298 iter);
299 return (DNS_R_NSEC3ITERRANGE);
>>> CID 469729: Control flow issues (UNREACHABLE)
>>> This code cannot be reached: "return ret;".
300 return (ret);
301 }
302
303 /* Opt-out? */
304 obj = cfg_tuple_get(config, "optout");
305 if (cfg_obj_isboolean(obj)) {