forked from aniani/vim
patch 8.2.4471: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable. Solution: Set flags to zero.
This commit is contained in:
parent
ae49aa8434
commit
62628d97c4
@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4471,
|
||||
/**/
|
||||
4470,
|
||||
/**/
|
||||
|
@ -1862,7 +1862,7 @@ compile_exec(char_u *line_arg, exarg_T *eap, cctx_T *cctx)
|
||||
if (*p == '{')
|
||||
{
|
||||
exarg_T ea;
|
||||
int flags; // unused
|
||||
int flags = 0; // unused
|
||||
int start_lnum = SOURCING_LNUM;
|
||||
|
||||
CLEAR_FIELD(ea);
|
||||
|
Loading…
x
Reference in New Issue
Block a user