summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
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 /src/ex_getln.c
parent68afde4c9b4379b757cc72112c33df9cf221eba8 (diff)
patch 8.2.4469: Coverity warns for uninitialized variablev8.2.4469
Problem: Coverity warns for uninitialized variable. Solution: Set the value to zero.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index a4f0a2607a..4978ceec21 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;