mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user