mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-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
b53d4fb63e
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1394,7 +1394,7 @@ static int ins_compl_build_pum(void)
|
|||||||
bool fuzzy_sort = fuzzy_filter && !(cur_cot_flags & kOptCotFlagNosort);
|
bool fuzzy_sort = fuzzy_filter && !(cur_cot_flags & kOptCotFlagNosort);
|
||||||
|
|
||||||
compl_T *match_head = NULL, *match_tail = NULL;
|
compl_T *match_head = NULL, *match_tail = NULL;
|
||||||
int match_count;
|
int match_count = 0;
|
||||||
int cur_source = -1;
|
int cur_source = -1;
|
||||||
bool max_matches_found = false;
|
bool max_matches_found = false;
|
||||||
bool is_forward = compl_shows_dir_forward() && !fuzzy_filter;
|
bool is_forward = compl_shows_dir_forward() && !fuzzy_filter;
|
||||||
|
Reference in New Issue
Block a user