mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +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:
@@ -254,7 +254,6 @@ cfg_nsec3param_fromconfig(const cfg_obj_t *config, dns_kasp_t *kasp,
|
|||||||
uint32_t saltlen = DEFAULT_NSEC3PARAM_SALTLEN;
|
uint32_t saltlen = DEFAULT_NSEC3PARAM_SALTLEN;
|
||||||
uint32_t badalg = 0;
|
uint32_t badalg = 0;
|
||||||
bool optout = false;
|
bool optout = false;
|
||||||
isc_result_t ret = ISC_R_SUCCESS;
|
|
||||||
|
|
||||||
/* How many iterations. */
|
/* How many iterations. */
|
||||||
obj = cfg_tuple_get(config, "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",
|
"not allowed, must be zero",
|
||||||
iter);
|
iter);
|
||||||
return (DNS_R_NSEC3ITERRANGE);
|
return (DNS_R_NSEC3ITERRANGE);
|
||||||
return (ret);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Opt-out? */
|
/* Opt-out? */
|
||||||
|
Reference in New Issue
Block a user