commit | 05c1734c4f70a0d7fb2f06444e26afda018f8795 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Feb 25 20:57:11 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Feb 25 20:57:11 2022 +0000 |
tree | 25c45a4c9e80e08753d4525d800b426de7d61a1c | |
parent | 68afde4c9b4379b757cc72112c33df9cf221eba8 [diff] [blame] |
patch 8.2.4469: Coverity warns for uninitialized variable Problem: Coverity warns for uninitialized variable. Solution: Set the value to zero.
diff --git a/src/ex_getln.c b/src/ex_getln.c index a4f0a26..4978cee 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -4672,7 +4672,7 @@ { char_u *xp_name; int xp_namelen; - long argt; + long argt = 0; // input() with a third argument: completion rettv->vval.v_string = NULL;