mirror of https://github.com/vim/vim.git
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)
|
||||
{
|
||||
// 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,
|
||||
/**/
|
||||
|
|
Loading…
Reference in New Issue