# HG changeset patch # User Bram Moolenaar # Date 1679744705 -3600 # Node ID e70c4cdad31d5679a56b636ca56246373912b66b # Parent 31f367cbaed0876090adec9b7c1c0abcf7ac4673 patch 9.0.1427: warning for uninitialized variable Commit: https://github.com/vim/vim/commit/1f76138ff1d08a8474cfcaf743448caf679416a3 Author: Bram Moolenaar Date: Sat Mar 25 11:31:32 2023 +0000 patch 9.0.1427: warning for uninitialized variable Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Add #ifdef. diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -6678,7 +6678,9 @@ nfa_regmatch( int subidx; 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; result = match_backref(&t->subs.norm, subidx, &bytelen); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1427, +/**/ 1426, /**/ 1425,