diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-07-22 13:56:03 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-07-22 14:02:33 +0200 |
commit | e75cc411641b8eb24c28ef0ebb449542467ed622 (patch) | |
tree | da444bfbfca09e34fe6ed58f9e86d05950237881 /src/command | |
parent | 16174727f48daae6d244835452139e0a1b1cb389 (diff) | |
download | profani-tty-e75cc411641b8eb24c28ef0ebb449542467ed622.tar.gz |
Fix double initialization of loop iterator
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_defs.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, " "); |