mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 9.0.1427: warning for uninitialized variable
Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Add #ifdef.
This commit is contained in:
@@ -6678,7 +6678,9 @@ nfa_regmatch(
|
|||||||
int subidx;
|
int subidx;
|
||||||
int bytelen;
|
int bytelen;
|
||||||
|
|
||||||
if (t->state->c <= NFA_BACKREF9)
|
#ifdef FEAT_SYN_HL
|
||||||
|
if (t->state->c >= NFA_BACKREF1 && t->state->c <= NFA_BACKREF9)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
subidx = t->state->c - NFA_BACKREF1 + 1;
|
subidx = t->state->c - NFA_BACKREF1 + 1;
|
||||||
result = match_backref(&t->subs.norm, subidx, &bytelen);
|
result = match_backref(&t->subs.norm, subidx, &bytelen);
|
||||||
|
@@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1427,
|
||||||
/**/
|
/**/
|
||||||
1426,
|
1426,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user