mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:8.2.4469: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
05c1734c4f
This commit is contained in:
parent
44a4af0ed0
commit
11631354cb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user