summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-15 08:10:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-15 08:10:58 +0200
commit518c0e3ae35d053140e6b292cb78d65d09a9a237 (patch)
tree16afb3330c14e8e76540dfaaddb8b346a0030c94 /src/plugins
parent20b7f406f877937a5e1ce3a53cd83196f13e921f (diff)
downloadweechat-518c0e3ae35d053140e6b292cb78d65d09a9a237.zip
irc: remove unused variable
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-ctcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c
index 2bc8fa2e7..6def77a39 100644
--- a/src/plugins/irc/irc-ctcp.c
+++ b/src/plugins/irc/irc-ctcp.c
@@ -284,7 +284,7 @@ irc_ctcp_reply_to_nick (struct t_irc_server *server,
const char *arguments)
{
struct t_arraylist *list_messages;
- int i, number, list_size;
+ int i, list_size;
char *msg_color, *dup_ctcp, *dup_ctcp_upper, *dup_args;
const char *ptr_message;
@@ -362,7 +362,6 @@ irc_ctcp_reply_to_nick (struct t_irc_server *server,
(msg_color[0]) ? " " : "",
msg_color);
free (msg_color);
- number++;
}
}