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
This commit is contained in:
Tim Cava
2014-02-28 22:22:33 +00:00
parent 3494a55541
commit d8b8c169ab

View File

@@ -588,7 +588,7 @@ BUILT_IN_COMMAND(massop)
{ {
ChannelList *chan; ChannelList *chan;
NickList *nicks; NickList *nicks;
char *to, *rest, *spec = NULL; char *to, *spec = NULL;
int count = 0, massvoice = 0, maxmodes = get_int_var(NUM_OPMODES_VAR), server; int count = 0, massvoice = 0, maxmodes = get_int_var(NUM_OPMODES_VAR), server;
char buffer[BIG_BUFFER_SIZE + 1]; char buffer[BIG_BUFFER_SIZE + 1];
@@ -608,12 +608,7 @@ BUILT_IN_COMMAND(massop)
if (!spec && !(spec = next_arg(args, &args))) if (!spec && !(spec = next_arg(args, &args)))
spec = "*!*@*"; spec = "*!*@*";
if (*spec == '-') if (*spec == '-')
{
rest = spec;
spec = "*!*@*"; spec = "*!*@*";
}
else
rest = args;
for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks)) for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks))
{ {