1
0
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:
Bram Moolenaar 2022-02-25 21:10:53 +00:00
parent ae49aa8434
commit 62628d97c4
2 changed files with 3 additions and 1 deletions

View File

@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4471,
/**/
4470,
/**/

View File

@ -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);