From d8b8c169ab67351076c8d568f2a2b135f4cd3d24 Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Fri, 28 Feb 2014 22:22:33 +0000 Subject: [PATCH] Remove a variable that is set but unused. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@481 13b04d17-f746-0410-82c6-800466cd88b0 --- source/banlist.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/source/banlist.c b/source/banlist.c index b6d12eb..ce548d3 100644 --- a/source/banlist.c +++ b/source/banlist.c @@ -588,7 +588,7 @@ BUILT_IN_COMMAND(massop) { ChannelList *chan; NickList *nicks; - char *to, *rest, *spec = NULL; + char *to, *spec = NULL; int count = 0, massvoice = 0, maxmodes = get_int_var(NUM_OPMODES_VAR), server; char buffer[BIG_BUFFER_SIZE + 1]; @@ -608,12 +608,7 @@ BUILT_IN_COMMAND(massop) if (!spec && !(spec = next_arg(args, &args))) spec = "*!*@*"; if (*spec == '-') - { - rest = spec; spec = "*!*@*"; - } - else - rest = args; for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks)) {