From: michael Date: Tue, 23 Jun 2015 16:46:26 +0000 (+0000) Subject: - opercmd.c: fixed compile warning with -Wshadow X-Git-Tag: 1.0.8~10 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=679d86d620444fb5333214bfd1440ebbec49eefd;p=hopm.git - opercmd.c: fixed compile warning with -Wshadow git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@6181 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; } }