summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-ignore.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:10:51 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:10:51 +0100
commitfce371e22a14ed55f246e1fe5413c5058b7fcae6 (patch)
treee7b82b693a4d046a42e008863d07c5fc2245f5f6 /src/plugins/irc/irc-ignore.c
parente442182a9683a713d3d97b452b4361ee0cd1d9a5 (diff)
downloadweechat-fce371e22a14ed55f246e1fe5413c5058b7fcae6.zip
Remove unused variables
Diffstat (limited to 'src/plugins/irc/irc-ignore.c')
-rw-r--r--src/plugins/irc/irc-ignore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-ignore.c b/src/plugins/irc/irc-ignore.c
index d84bdaf04..e5118362a 100644
--- a/src/plugins/irc/irc-ignore.c
+++ b/src/plugins/irc/irc-ignore.c
@@ -188,7 +188,7 @@ irc_ignore_check (struct t_irc_server *server, const char *channel,
const char *nick, const char *host)
{
struct t_irc_ignore *ptr_ignore;
- int server_match, channel_match, regex_match;
+ int server_match, channel_match;
if (!server)
return 0;
@@ -205,7 +205,6 @@ irc_ignore_check (struct t_irc_server *server, const char *channel,
{
server_match = 0;
channel_match = 0;
- regex_match = 0;
if (!server || (strcmp (ptr_ignore->server, "*") == 0))
server_match = 1;