0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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;
int xp_namelen;
long argt;
long argt = 0;
// input() with a third argument: completion
rettv->vval.v_string = NULL;