vim-patch:9.0.1427: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add #ifdef.

1f76138ff1

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
Jan Edmund Lazo
2025-10-11 11:03:00 -04:00
parent b6d0c391fc
commit 69bed0431c

View File

@@ -15050,7 +15050,7 @@ static int nfa_regmatch(nfa_regprog_T *prog, nfa_state_T *start, regsubs_T *subm
int subidx;
int bytelen;
if (t->state->c <= NFA_BACKREF9) {
if (t->state->c >= NFA_BACKREF1 && t->state->c <= NFA_BACKREF9) {
subidx = t->state->c - NFA_BACKREF1 + 1;
result = match_backref(&t->subs.norm, subidx, &bytelen);
} else {