summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-session.c
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2014-06-26 00:47:49 +0100
committerDavid Leadbeater <dgl@dgl.cx>2014-06-26 00:47:49 +0100
commitb34ded063b9a3a783329ab7ad8e14c41ef824c1b (patch)
treeb717e5a87d037ac8da30925252069f0149ca4ef8 /src/irc/core/irc-session.c
parent86fcadb85da04bc4e8bf7546cd0aabe98efbd008 (diff)
downloadirssi-b34ded063b9a3a783329ab7ad8e14c41ef824c1b.zip
Remove unused variables to silence compiler warnings
Diffstat (limited to 'src/irc/core/irc-session.c')
-rw-r--r--src/irc/core/irc-session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irc/core/irc-session.c b/src/irc/core/irc-session.c
index 3c50e312..bcb0a122 100644
--- a/src/irc/core/irc-session.c
+++ b/src/irc/core/irc-session.c
@@ -115,7 +115,6 @@ static void sig_session_restore_nick(IRC_CHANNEL_REC *channel,
{
const char *nick, *prefixes;
int op, halfop, voice;
- NICK_REC *nickrec;
char newprefixes[MAX_USER_PREFIXES + 1];
int i;
@@ -145,7 +144,7 @@ static void sig_session_restore_nick(IRC_CHANNEL_REC *channel,
newprefixes[i] = '\0';
prefixes = newprefixes;
}
- nickrec = irc_nicklist_insert(channel, nick, op, halfop, voice, FALSE, prefixes);
+ irc_nicklist_insert(channel, nick, op, halfop, voice, FALSE, prefixes);
}
static void session_restore_channel(IRC_CHANNEL_REC *channel)