summaryrefslogtreecommitdiff
path: root/src/plugins/script
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-02-16 07:59:02 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-02-16 07:59:02 +0100
commit3fc0f1957eae03fbb5dbf9ae961f5ffe078d0956 (patch)
treecff50d82529331bc5df952ca4df241634944da79 /src/plugins/script
parent4cb0e2dc552b9330a135d2c5dc7094dd8cecb113 (diff)
downloadweechat-3fc0f1957eae03fbb5dbf9ae961f5ffe078d0956.zip
script: remove dead assignment of variable length in function script_action_list_input
Diffstat (limited to 'src/plugins/script')
-rw-r--r--src/plugins/script/script-action.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c
index 1d9175ccf..09892c60e 100644
--- a/src/plugins/script/script-action.c
+++ b/src/plugins/script/script-action.c
@@ -111,8 +111,6 @@ script_action_list_input (int send_to_buffer, int translated)
if (!buf)
return;
- length = 0;
-
for (i = 0; i < SCRIPT_NUM_LANGUAGES; i++)
{
snprintf (hdata_name, sizeof (hdata_name),