0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4485: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize the variable. (John Marriott)
This commit is contained in:
Bram Moolenaar
2022-02-28 21:02:19 +00:00
parent 1983f1aa31
commit 3e7637bd26
2 changed files with 3 additions and 1 deletions

View File

@@ -3003,7 +3003,7 @@ ExpandUserDefined(
garray_T ga;
int fuzzy;
int match;
int score;
int score = 0;
fuzzy = cmdline_fuzzy_complete(pat);
*matches = NULL;