From 1efc7550a3cf532cb5452f4c5fabe7c11a86d55a Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 5 Feb 2020 16:04:09 +1100 Subject: [PATCH] keymgr_keyrole couldn't emit "NOSIGN". 92 } else { 93 return ("ZSK"); 94 } CID 1455900 (#1 of 1): Structurally dead code (UNREACHABLE) unreachable: This code cannot be reached: return "NOSIGN";. 95 return ("NOSIGN"); --- lib/dns/keymgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/keymgr.c b/lib/dns/keymgr.c index 8c1441cacd..61bb3182e7 100644 --- a/lib/dns/keymgr.c +++ b/lib/dns/keymgr.c @@ -89,7 +89,7 @@ keymgr_keyrole(dst_key_t* key) return ("CSK"); } else if (ksk) { return ("KSK"); - } else { + } else if (zsk) { return ("ZSK"); } return ("NOSIGN");