commit | 4c84dd33ad739237bb38bb4e51702af972b5e507 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Apr 20 10:22:54 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Apr 20 10:22:54 2022 +0100 |
tree | aaf77983d71fd0c39b53314e73f2f9dfe1e12317 | |
parent | 928a13135629fa8e73796760077b1b877918a080 [diff] [blame] |
patch 8.2.4794: compiler warning for not initialized variable Problem: Compiler warning for not initialized variable. Solution: Initialize the variable. (John Marriott)
diff --git a/src/indent.c b/src/indent.c index be9dd4b..9efa527 100644 --- a/src/indent.c +++ b/src/indent.c
@@ -1046,7 +1046,7 @@ void op_reindent(oparg_T *oap, int (*how)(void)) { - long i; + long i = 0; char_u *l; int amount; linenr_T first_changed = 0;