mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 15:40:20 -05:00
vim-patch:9.0.1427: warning for uninitialized variable
Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Add #ifdef. https://github.com/vim/vim/commit/1f76138ff1d08a8474cfcaf743448caf679416a3 Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
1 parent
b6d0c391fc
commit
69bed0431c
1 file changed
+1
-1
+1
-1
@@ -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