Remove variables that are set but unused.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@480 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2014-02-28 22:13:49 +00:00
parent f13de53ad4
commit 3494a55541

View File

@@ -369,11 +369,10 @@ void userhost_ban(UserhostItem *stuff, char *nick1, char *args)
ChannelList *c = NULL; ChannelList *c = NULL;
NickList *n = NULL; NickList *n = NULL;
WhowasList *whowas = NULL; WhowasList *whowas = NULL;
char *channel, *temp, *nick, *user, *host, *b = "+b", *ob = "-o+b", *str = NULL; char *channel, *nick, *user, *host, *b = "+b", *ob = "-o+b", *str = NULL;
int fuck, set_ignore, on_chan = 0; int fuck, set_ignore, on_chan = 0;
channel = next_arg(args, &args); channel = next_arg(args, &args);
temp = next_arg(args, &args);
fuck = !my_stricmp("FUCK", args); fuck = !my_stricmp("FUCK", args);
set_ignore = !my_stricmp("BKI", args); set_ignore = !my_stricmp("BKI", args);
@@ -590,7 +589,7 @@ BUILT_IN_COMMAND(massop)
ChannelList *chan; ChannelList *chan;
NickList *nicks; NickList *nicks;
char *to, *rest, *spec = NULL; char *to, *rest, *spec = NULL;
int all = 0, 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];
if (command) if (command)
@@ -615,8 +614,6 @@ BUILT_IN_COMMAND(massop)
} }
else else
rest = args; rest = args;
if (rest && !my_stricmp(rest, "-all"))
all = 1;
for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks)) for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks))
{ {