From 679d86d620444fb5333214bfd1440ebbec49eefd Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 23 Jun 2015 16:46:26 +0000 Subject: [PATCH] - 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 --- src/opercmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.30.2