mirror of
https://github.com/vim/vim.git
synced 2025-08-26 20:03:41 -04:00
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:
parent
99ca9c4868
commit
c53e9c57a9
@ -4293,7 +4293,7 @@ fuzzy_match_compute_score(
|
|||||||
if (currIdx > 0)
|
if (currIdx > 0)
|
||||||
{
|
{
|
||||||
// Camel case
|
// Camel case
|
||||||
int neighbor;
|
int neighbor = ' ';
|
||||||
int curr;
|
int curr;
|
||||||
int neighborSeparator;
|
int neighborSeparator;
|
||||||
|
|
||||||
|
@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
1728,
|
||||||
/**/
|
/**/
|
||||||
1727,
|
1727,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user