From e75cc411641b8eb24c28ef0ebb449542467ed622 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 22 Jul 2019 13:56:03 +0200 Subject: Fix double initialization of loop iterator --- src/command/cmd_defs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/command') diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 2dca64c0..efe2bad0 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -2427,7 +2427,6 @@ _cmd_index(Command *cmd) { g_string_free(index_source, TRUE); GString *index = g_string_new(""); - i = 0; for (i = 0; i < g_strv_length(tokens); i++) { index = g_string_append(index, tokens[i]); index = g_string_append(index, " "); -- cgit 1.4.1-2-gfad0