mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.4623: Coverity warns for using uninitialized field
Problem: Coverity warns for using uninitialized field. Solution: Initialize he field to zero.
This commit is contained in:
parent
43216611a5
commit
03a297c63f
@ -3906,6 +3906,7 @@ cmd_exists(char_u *name)
|
||||
// For ":2match" and ":3match" we need to skip the number.
|
||||
ea.cmd = (*name == '2' || *name == '3') ? name + 1 : name;
|
||||
ea.cmdidx = (cmdidx_T)0;
|
||||
ea.flags = 0;
|
||||
p = find_ex_command(&ea, &full, NULL, NULL);
|
||||
if (p == NULL)
|
||||
return 3;
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4623,
|
||||
/**/
|
||||
4622,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user