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

CID 469729: Remove leftover return call

This 'return (ret);' call can never be reached and should have been
removed as part of commit 75e0d394dd.
This commit is contained in:
Matthijs Mekking
2023-12-06 10:38:01 +01:00
parent c4fcdbefc5
commit d08f293f11

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? */