mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user