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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user