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:
Christian Brabandt
2025-04-16 21:12:30 +02:00
parent ad503fe927
commit b53d4fb63e
2 changed files with 3 additions and 1 deletions

View File

@ -1474,7 +1474,7 @@ ins_compl_build_pum(void)
compl_T *match_tail = NULL;
compl_T *match_next = NULL;
int update_shown_match = fuzzy_filter;
int match_count;
int match_count = 0;
int cur_source = -1;
int max_matches_found = FALSE;
int is_forward = compl_shows_dir_forward() && !fuzzy_filter;

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1313,
/**/
1312,
/**/