commit b2a8ed08551d2edf2bf98e830860f0130acd00f8
parent 44a4af0ed02db7f4f1cce8c64935238b4efbee12
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat, 7 May 2022 06:47:56 +0800
Merge pull request #18452 from dundargoc/vim-8.2.4469
vim-patch:8.2.4469: Coverity warns for uninitialized variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
@@ -6632,7 +6632,7 @@ void get_user_input(const typval_T *const argvars, typval_T *const rettv, const
// input() with a third argument: completion
const int xp_namelen = (int)strlen(xp_name);
- uint32_t argt;
+ uint32_t argt = 0;
if (parse_compl_arg(xp_name, xp_namelen, &xp_type,
&argt, &xp_arg) == FAIL) {
return;