To: vim_dev@googlegroups.com Subject: Patch 8.2.5033 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///