1
0
forked from aniani/vim

patch 8.2.0957: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize one variable.
This commit is contained in:
Bram Moolenaar
2020-06-11 12:30:13 +02:00
parent e0ebeda4d8
commit 2d4070d3b0
2 changed files with 3 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ spell_check(
if (spell_iswordp(mi.mi_fend, wp)) if (spell_iswordp(mi.mi_fend, wp))
{ {
int prev_upper; int prev_upper;
int this_upper; int this_upper = FALSE; // init for gcc
if (use_camel_case) if (use_camel_case)
{ {

View File

@@ -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 */
/**/
957,
/**/ /**/
956, 956,
/**/ /**/