forked from aniani/vim
patch 8.0.0204: compiler warns for uninitialized variable
Problem: Compiler warns for uninitialized variable. (Tony Mechelynck) Solution: When skipping set "id" to -1.
This commit is contained in:
parent
6e78e27b8a
commit
eb46f8fa14
@ -6049,7 +6049,9 @@ get_id_list(
|
|||||||
}
|
}
|
||||||
else if (name[1] == '@')
|
else if (name[1] == '@')
|
||||||
{
|
{
|
||||||
if (!skip)
|
if (skip)
|
||||||
|
id = -1;
|
||||||
|
else
|
||||||
id = syn_check_cluster(name + 2, (int)(end - p - 1));
|
id = syn_check_cluster(name + 2, (int)(end - p - 1));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -764,6 +764,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 */
|
||||||
|
/**/
|
||||||
|
204,
|
||||||
/**/
|
/**/
|
||||||
203,
|
203,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user