Patch 8.2.4266

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 30, 2022, 2:38:37 PM1/30/22
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages