Merge branch '4476-fix-cid-469729' into 'main'

CID 469729: Remove leftover return call

Closes #4476

See merge request isc-projects/bind9!8547
This commit is contained in:
Matthijs Mekking 2023-12-06 12:51:24 +00:00
commit 2653e668e3

View file

@ -254,7 +254,6 @@ cfg_nsec3param_fromconfig(const cfg_obj_t *config, dns_kasp_t *kasp,
uint32_t saltlen = DEFAULT_NSEC3PARAM_SALTLEN;
uint32_t badalg = 0;
bool optout = false;
isc_result_t ret = ISC_R_SUCCESS;
/* How many iterations. */
obj = cfg_tuple_get(config, "iterations");
@ -297,7 +296,6 @@ cfg_nsec3param_fromconfig(const cfg_obj_t *config, dns_kasp_t *kasp,
"not allowed, must be zero",
iter);
return (DNS_R_NSEC3ITERRANGE);
return (ret);
}
/* Opt-out? */