mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -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:
@@ -3003,7 +3003,7 @@ ExpandUserDefined(
|
|||||||
garray_T ga;
|
garray_T ga;
|
||||||
int fuzzy;
|
int fuzzy;
|
||||||
int match;
|
int match;
|
||||||
int score;
|
int score = 0;
|
||||||
|
|
||||||
fuzzy = cmdline_fuzzy_complete(pat);
|
fuzzy = cmdline_fuzzy_complete(pat);
|
||||||
*matches = NULL;
|
*matches = NULL;
|
||||||
|
@@ -754,6 +754,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 */
|
||||||
|
/**/
|
||||||
|
4485,
|
||||||
/**/
|
/**/
|
||||||
4484,
|
4484,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user