diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-05-02 21:37:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-05-02 21:37:03 +0200 |
commit | fef2ecec9bfa2c4a238e4bc18c99da7c8949838d (patch) | |
tree | 63322f632c94a6120e158c3ec7a6940e4c3c336e /src/plugins/relay | |
parent | cf42c7da380ad562985a6a2c711da020d5babc9d (diff) | |
download | weechat-fef2ecec9bfa2c4a238e4bc18c99da7c8949838d.zip |
relay: remove unused variable "i"
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/relay-command.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c index 237b86d1c..85c36341d 100644 --- a/src/plugins/relay/relay-command.c +++ b/src/plugins/relay/relay-command.c @@ -129,7 +129,6 @@ void relay_command_server_list () { struct t_relay_server *ptr_server; - int i; char date_start[128]; struct tm *date_tmp; @@ -137,7 +136,6 @@ relay_command_server_list () { weechat_printf (NULL, ""); weechat_printf (NULL, _("Listening on:")); - i = 1; for (ptr_server = relay_servers; ptr_server; ptr_server = ptr_server->next_server) { @@ -178,7 +176,6 @@ relay_command_server_list () ((ptr_server->ipv4 && ptr_server->ipv6) ? "IPv4+6" : ((ptr_server->ipv6) ? "IPv6" : ((ptr_server->ipv4) ? "IPv4" : "UNIX"))), date_start); } - i++; } } else |