From: michael Date: Tue, 23 Jun 2015 16:46:49 +0000 (+0000) Subject: - opercmd.c: fixed compile warning with -Wshadow X-Git-Tag: 1.1.0beta1~20 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=e84535bf4fbc15984ad7d737983f7951765d6967;p=hopm.git - opercmd.c: fixed compile warning with -Wshadow git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6182 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/opercmd.c b/src/opercmd.c index b342a9e..ed9e9c3 100644 --- a/src/opercmd.c +++ b/src/opercmd.c @@ -223,9 +223,9 @@ command_parse(char *command, const struct ChannelConf *target, if (strcasecmp(command, tab->command) == 0) { /* Queue this command */ - struct Command *command = command_create(tab, param, source_p->irc_nick, target); + struct Command *cmd = command_create(tab, param, source_p->irc_nick, target); - list_add(&COMMANDS, node_create(command)); + list_add(&COMMANDS, node_create(cmd)); break; } }