From faea8a525d79f9a415ef1e4a49eb1a3fdbe0e9fc Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 21 Jun 2012 14:30:06 +1000 Subject: [PATCH] remove rundundent call 'result = isc_parse_uint8(&ui, r.base, 10);' --- lib/bind9/check.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/bind9/check.c b/lib/bind9/check.c index 26eaa1aaf9..686f80d21e 100644 --- a/lib/bind9/check.c +++ b/lib/bind9/check.c @@ -286,10 +286,6 @@ disabled_algorithms(const cfg_obj_t *disabled, isc_log_t *logctx) { r.length = strlen(r.base); tresult = dns_secalg_fromtext(&alg, &r); - if (tresult != ISC_R_SUCCESS) { - isc_uint8_t ui; - result = isc_parse_uint8(&ui, r.base, 10); - } if (tresult != ISC_R_SUCCESS) { cfg_obj_log(cfg_listelt_value(element), logctx, ISC_LOG_ERROR, "invalid algorithm '%s'",