diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-04-10 13:26:46 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-04-10 13:26:46 +0200 |
commit | 7bd23700de58c74728ada0a44aaed9fff87b4f6c (patch) | |
tree | edeec23e36c16c4d713a2a5fe6f47f685c5d42b2 /src/plugins/irc | |
parent | 937ecb62c47775f22a929b7ae43d80588fe19806 (diff) | |
download | weechat-7bd23700de58c74728ada0a44aaed9fff87b4f6c.zip |
irc: remove dead assignment on variable pos_message
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c index 96974fcbc..31f5cc412 100644 --- a/src/plugins/irc/irc-info.c +++ b/src/plugins/irc/irc-info.c @@ -421,13 +421,13 @@ irc_info_info_irc_is_message_ignored_cb (const void *pointer, void *data, if (!arguments || !arguments[0]) return NULL; - ptr_server = NULL; - pos_message = arguments; pos_comma = strchr (arguments, ','); if (!pos_comma) return NULL; pos_message = pos_comma + 1; + + ptr_server = NULL; server = weechat_strndup (arguments, pos_comma - arguments); if (server) { |