Patch 8.2.4469

5 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 25, 2022, 3:58:37 PM2/25/22
to vim...@googlegroups.com

Patch 8.2.4469
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
Files: src/ex_getln.c


*** ../vim-8.2.4468/src/ex_getln.c 2022-02-16 12:44:26.129908861 +0000
--- src/ex_getln.c 2022-02-25 20:55:17.627122971 +0000
***************
*** 4672,4678 ****
{
char_u *xp_name;
int xp_namelen;
! long argt;

// input() with a third argument: completion
rettv->vval.v_string = NULL;
--- 4672,4678 ----
{
char_u *xp_name;
int xp_namelen;
! long argt = 0;

// input() with a third argument: completion
rettv->vval.v_string = NULL;
*** ../vim-8.2.4468/src/version.c 2022-02-25 20:48:22.135350734 +0000
--- src/version.c 2022-02-25 20:55:53.995090492 +0000
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 4469,
/**/

--
A meeting is an event at which the minutes are kept and the hours are lost.

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