0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4469: Coverity warns for uninitialized variable

Problem:    Coverity warns for uninitialized variable.
Solution:   Set the value to zero.
This commit is contained in:
Bram Moolenaar
2022-02-25 20:57:11 +00:00
parent 68afde4c9b
commit 05c1734c4f
2 changed files with 3 additions and 1 deletions

View File

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

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4469,
/**/ /**/
4468, 4468,
/**/ /**/