Patch 8.2.4878
Problem: Valgrind warning for using uninitialized variable.
Solution: Initialize the type of newtv.
Files: src/strings.c
*** ../vim-8.2.4877/src/strings.c 2022-01-31 14:59:33.526943578 +0000
--- src/strings.c 2022-05-06 10:59:56.761971651 +0100
***************
*** 898,903 ****
--- 898,904 ----
break;
len = (int)STRLEN(tv.vval.v_string);
+ newtv.v_type = VAR_UNKNOWN;
set_vim_var_nr(VV_KEY, idx);
if (filter_map_one(&tv, expr, filtermap, &newtv, &rem) == FAIL
|| did_emsg)
*** ../vim-8.2.4877/src/version.c 2022-05-05 21:09:50.678323471 +0100
--- src/version.c 2022-05-06 10:59:11.029993936 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4878,
/**/
--
In a world without walls and borders, who needs windows and gates?
/// 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 ///