From 9c7e29bf66d6261c8f30f9c0785e424155c575b3 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Mon, 31 Jul 2017 04:30:56 +0000 Subject: [PATCH] src/chmode.c: misc cleanup for compiler warning chmode.c:782:3: warning: 'break' will never be executed [-Wunreachable-code-break] --- src/chmode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/chmode.c b/src/chmode.c index b693b389..52176a1c 100644 --- a/src/chmode.c +++ b/src/chmode.c @@ -779,7 +779,6 @@ chm_ban(struct Client *source_p, struct Channel *chptr, default: sendto_realops_snomask(SNO_GENERAL, L_ALL, "chm_ban() called with unknown type!"); return; - break; } if(dir == 0 || parc <= *parn)