Patch 9.0.1427
Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add #ifdef.
Files:      src/regexp_nfa.c


*** ../vim-9.0.1426/src/regexp_nfa.c    2023-02-01 13:11:11.714991151 +0000
--- src/regexp_nfa.c    2023-03-25 11:30:46.307925154 +0000
***************
*** 6678,6684 ****
                int subidx;
                int bytelen;
  
!               if (t->state->c <= NFA_BACKREF9)
                {
                    subidx = t->state->c - NFA_BACKREF1 + 1;
                    result = match_backref(&t->subs.norm, subidx, &bytelen);
--- 6678,6686 ----
                int subidx;
                int bytelen;
  
! #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);
*** ../vim-9.0.1426/src/version.c       2023-03-24 19:25:02.156080183 +0000
--- src/version.c       2023-03-25 11:29:11.647913953 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1427,
  /**/

-- 
GUARD #1:  What, ridden on a horse?
ARTHUR:    Yes!
GUARD #1:  You're using coconuts!
ARTHUR:    What?
GUARD #1:  You've got two empty halves of coconut and you're bangin' 'em
           together.
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230325113158.494CD1C03FD%40moolenaar.net.

Raspunde prin e-mail lui