Patch 8.2.5033 (after 8.2.5030)
Problem:    Build error with +eval but without +quickfix.  Warning for
            uninitialized variable.
Solution:   Adjust #ifdefs. (John Marriott)
Files:      src/errors.h, src/autocmd.c


*** ../vim-8.2.5032/src/errors.h        2022-05-27 18:05:28.335620087 +0100
--- src/errors.h        2022-05-27 20:50:24.729977562 +0100
***************
*** 1953,1962 ****
  #ifdef FEAT_QUICKFIX
  EXTERN char e_no_location_list[]
        INIT(= N_("E776: No location list"));
! # ifdef FEAT_EVAL
  EXTERN char e_string_or_list_expected[]
        INIT(= N_("E777: String or List expected"));
- # endif
  #endif
  #ifdef FEAT_SPELL
  EXTERN char e_this_does_not_look_like_sug_file_str[]
--- 1953,1962 ----
  #ifdef FEAT_QUICKFIX
  EXTERN char e_no_location_list[]
        INIT(= N_("E776: No location list"));
! #endif
! #ifdef FEAT_EVAL
  EXTERN char e_string_or_list_expected[]
        INIT(= N_("E777: String or List expected"));
  #endif
  #ifdef FEAT_SPELL
  EXTERN char e_this_does_not_look_like_sug_file_str[]
*** ../vim-8.2.5032/src/autocmd.c       2022-05-27 18:05:28.335620087 +0100
--- src/autocmd.c       2022-05-27 21:08:42.689299134 +0100
***************
*** 2769,2775 ****
      listitem_T        *pli;
      char_u    *cmd = NULL;
      char_u    *end;
-     char_u    *p;
      int               once;
      int               nested;
      int               replace;                // replace the cmd for a 
group/event
--- 2769,2774 ----
***************
*** 2937,2942 ****
--- 2936,2943 ----
        }
        else
        {
+           char_u *p = NULL;
+ 
            eli = NULL;
            end = NULL;
            while (TRUE)
*** ../vim-8.2.5032/src/version.c       2022-05-27 20:23:16.922706205 +0100
--- src/version.c       2022-05-27 21:16:21.677023595 +0100
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     5033,
  /**/

-- 
FATHER:    Who are you?
PRINCE:    I'm ... your son ...
FATHER:    Not you.
LAUNCELOT: I'm ... er ... Sir Launcelot, sir.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220527201706.49FAF1C1AA3%40moolenaar.net.

Raspunde prin e-mail lui