mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4471,
|
||||||
/**/
|
/**/
|
||||||
4470,
|
4470,
|
||||||
/**/
|
/**/
|
||||||
|
@ -1862,7 +1862,7 @@ compile_exec(char_u *line_arg, exarg_T *eap, cctx_T *cctx)
|
|||||||
if (*p == '{')
|
if (*p == '{')
|
||||||
{
|
{
|
||||||
exarg_T ea;
|
exarg_T ea;
|
||||||
int flags; // unused
|
int flags = 0; // unused
|
||||||
int start_lnum = SOURCING_LNUM;
|
int start_lnum = SOURCING_LNUM;
|
||||||
|
|
||||||
CLEAR_FIELD(ea);
|
CLEAR_FIELD(ea);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user