Skip to content

Commit

Permalink
patch 8.2.4469: Coverity warns for uninitialized variable
Browse files Browse the repository at this point in the history
Problem:    Coverity warns for uninitialized variable.
Solution:   Set the value to zero.
  • Loading branch information
brammool committed Feb 25, 2022
1 parent 68afde4 commit 05c1734
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ex_getln.c
Expand Up @@ -4672,7 +4672,7 @@ get_user_input(
{
char_u *xp_name;
int xp_namelen;
long argt;
long argt = 0;

// input() with a third argument: completion
rettv->vval.v_string = NULL;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -754,6 +754,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4469,
/**/
4468,
/**/
Expand Down

0 comments on commit 05c1734

Please sign in to comment.