summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-25 20:57:11 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-25 20:57:11 +0000
commit05c1734c4f70a0d7fb2f06444e26afda018f8795 (patch)
tree25c45a4c9e80e08753d4525d800b426de7d61a1c
parent68afde4c9b4379b757cc72112c33df9cf221eba8 (diff)
downloadvim-git-05c1734c4f70a0d7fb2f06444e26afda018f8795.tar.gz
patch 8.2.4469: Coverity warns for uninitialized variablev8.2.4469
Problem: Coverity warns for uninitialized variable. Solution: Set the value to zero.
-rw-r--r--src/ex_getln.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index a4f0a2607..4978ceec2 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -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;
diff --git a/src/version.c b/src/version.c
index 86a780824..0889ac4d0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4469,
+/**/
4468,
/**/
4467,