neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit f9c8ba0b8594d24168004c731c5fe33ae0f9a4df
parent f8b832b171d95aa3fb8e97a013d4a5717ff593c1
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 20 Apr 2022 18:07:25 +0800

vim-patch:8.2.4794: compiler warning for not initialized variable

Problem:    Compiler warning for not initialized variable.
Solution:   Initialize the variable. (John Marriott)
https://github.com/vim/vim/commit/4c84dd33ad739237bb38bb4e51702af972b5e507

Diffstat:
Msrc/nvim/ops.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nvim/ops.c b/src/nvim/ops.c @@ -636,7 +636,7 @@ static void block_insert(oparg_T *oap, char_u *s, int b_insert, struct block_def */ void op_reindent(oparg_T *oap, Indenter how) { - long i; + long i = 0; char_u *l; int amount; linenr_T first_changed = 0;