Fix double initialization of loop iterator

This commit is contained in:
Michael Vetter
2019-07-22 13:56:03 +02:00
parent 16174727f4
commit e75cc41164
2 changed files with 0 additions and 3 deletions

View File

@@ -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, " ");