To: vim_dev@googlegroups.com Subject: Patch 8.2.4266 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4266 Problem: Compiler warning for uninitialized variable. Solution: Initialize saved_did_emsg. Files: src/userfunc.c *** ../vim-8.2.4265/src/userfunc.c 2022-01-30 18:40:40.535255817 +0000 --- src/userfunc.c 2022-01-30 19:36:21.275573141 +0000 *************** *** 4104,4110 **** { int j; int c; ! int saved_did_emsg; char_u *name = name_arg; int is_global = FALSE; char_u *p; --- 4104,4110 ---- { int j; int c; ! int saved_did_emsg = FALSE; char_u *name = name_arg; int is_global = FALSE; char_u *p; *** ../vim-8.2.4265/src/version.c 2022-01-30 18:56:31.961463935 +0000 --- src/version.c 2022-01-30 19:37:26.958646384 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4266, /**/ -- Hanson's Treatment of Time: There are never enough hours in a day, but always too many days before Saturday. /// 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 ///