Patch 8.2.4471

6 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 25, 2022, 4:11:23 PM2/25/22
to vim...@googlegroups.com

Patch 8.2.4471
Problem: Coverity warns for uninitialized variable.
Solution: Set flags to zero.
Files: src/vim9cmds.c


*** ../vim-8.2.4470/src/vim9cmds.c 2022-02-07 13:56:40.592793019 +0000
--- src/vim9cmds.c 2022-02-25 21:09:10.526144931 +0000
***************
*** 1862,1868 ****
if (*p == '{')
{
exarg_T ea;
! int flags; // unused
int start_lnum = SOURCING_LNUM;

CLEAR_FIELD(ea);
--- 1862,1868 ----
if (*p == '{')
{
exarg_T ea;
! int flags = 0; // unused
int start_lnum = SOURCING_LNUM;

CLEAR_FIELD(ea);
*** ../vim-8.2.4470/src/version.c 2022-02-25 21:05:31.598434512 +0000
--- src/version.c 2022-02-25 21:09:49.358096714 +0000
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 4471,
/**/

--
hundred-and-one symptoms of being an internet addict:
104. When people ask about the Presidential Election you ask "Which country?"

/// 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