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 -- [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/20220225211119.2FD511C1149%40moolenaar.net.