mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.1.1542: Coverity complains about uninitialized variable
Problem: Coverity complains about uninitialized variable
(Tony Mechelynck)
Solution: Initialize variables
closes: #17717
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -2395,8 +2395,8 @@ ins_compl_need_restart(void)
|
||||
ins_compl_new_leader(void)
|
||||
{
|
||||
int cur_cot_flags = get_cot_flags();
|
||||
int save_w_wrow;
|
||||
int save_w_leftcol;
|
||||
int save_w_wrow = curwin->w_wrow;
|
||||
int save_w_leftcol = curwin->w_leftcol;
|
||||
|
||||
ins_compl_del_pum();
|
||||
ins_compl_delete();
|
||||
|
||||
Reference in New Issue
Block a user