forked from aniani/vim
patch 8.2.1728: compiler warning for using uninitialized variable
Problem: Compiler warning for using uninitialized variable. (John Marriott) Solution: Initialize "neighbor".
This commit is contained in:
@@ -4293,7 +4293,7 @@ fuzzy_match_compute_score(
|
||||
if (currIdx > 0)
|
||||
{
|
||||
// Camel case
|
||||
int neighbor;
|
||||
int neighbor = ' ';
|
||||
int curr;
|
||||
int neighborSeparator;
|
||||
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1728,
|
||||
/**/
|
||||
1727,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user