mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00: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)
|
ins_compl_new_leader(void)
|
||||||
{
|
{
|
||||||
int cur_cot_flags = get_cot_flags();
|
int cur_cot_flags = get_cot_flags();
|
||||||
int save_w_wrow;
|
int save_w_wrow = curwin->w_wrow;
|
||||||
int save_w_leftcol;
|
int save_w_leftcol = curwin->w_leftcol;
|
||||||
|
|
||||||
ins_compl_del_pum();
|
ins_compl_del_pum();
|
||||||
ins_compl_delete();
|
ins_compl_delete();
|
||||||
|
@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1542,
|
||||||
/**/
|
/**/
|
||||||
1541,
|
1541,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user