vim-patch:8.0.1044: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (John Marriott)
Solution:   Initialize ind_pre.
2254a8ad0c
This commit is contained in:
Jan Edmund Lazo 2018-08-23 09:59:41 -04:00
parent fb68c97ce8
commit 27fbffeb4f

View File

@ -2014,7 +2014,7 @@ void op_insert(oparg_T *oap, long count1)
{ {
long ins_len, pre_textlen = 0; long ins_len, pre_textlen = 0;
char_u *firstline, *ins_text; char_u *firstline, *ins_text;
colnr_T ind_pre; colnr_T ind_pre = 0;
struct block_def bd; struct block_def bd;
int i; int i;
pos_T t1; pos_T t1;