summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-01-25 15:13:11 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-01-25 15:13:11 +0100
commit5886820679ac7740ad4b403039a150930e1608ac (patch)
treeb65bf3eab4794bd8597665d207cd6f8f547b8d22 /src/plugins/irc/irc-channel.c
parent0a75d79e93b773a98c42f3e104a8560fe4df1e3c (diff)
downloadweechat-5886820679ac7740ad4b403039a150930e1608ac.zip
irc: remove compiler warning about unused parameter in irc_channel_remove_account()
Diffstat (limited to 'src/plugins/irc/irc-channel.c')
-rw-r--r--src/plugins/irc/irc-channel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index 348e60a0b..1aebd529d 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -688,6 +688,9 @@ irc_channel_remove_account (struct t_irc_server *server,
{
struct t_irc_nick *ptr_nick;
+ /* make C compiler happy */
+ (void) server;
+
if (channel->type == IRC_CHANNEL_TYPE_CHANNEL)
{
for (ptr_nick = channel->nicks; ptr_nick;