mirror of
https://github.com/vim/vim.git
synced 2025-11-10 10:47:23 -05:00
patch 9.1.1313: compile warning about uninitialized value
Problem: compile warning about uninitialized value
(Tony Mechelynck, after v9.1.1311)
Solution: initialize variable on declaration
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1474,7 +1474,7 @@ ins_compl_build_pum(void)
|
|||||||
compl_T *match_tail = NULL;
|
compl_T *match_tail = NULL;
|
||||||
compl_T *match_next = NULL;
|
compl_T *match_next = NULL;
|
||||||
int update_shown_match = fuzzy_filter;
|
int update_shown_match = fuzzy_filter;
|
||||||
int match_count;
|
int match_count = 0;
|
||||||
int cur_source = -1;
|
int cur_source = -1;
|
||||||
int max_matches_found = FALSE;
|
int max_matches_found = FALSE;
|
||||||
int is_forward = compl_shows_dir_forward() && !fuzzy_filter;
|
int is_forward = compl_shows_dir_forward() && !fuzzy_filter;
|
||||||
|
|||||||
@@ -704,6 +704,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 */
|
||||||
|
/**/
|
||||||
|
1313,
|
||||||
/**/
|
/**/
|
||||||
1312,
|
1312,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user