Problem: Coverity warns for using uninitialized memory.
Solution: Clear the "lhs" field earlier.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1055,
/**/
1054,
/**/
char_u *sp;
int is_decl = is_decl_command(cmdidx);
lhs_T lhs;
+ CLEAR_FIELD(lhs);
long start_lnum = SOURCING_LNUM;
int has_arg_is_set_prefix = STRNCMP(arg, "ifargisset ", 11) == 0;
if (p == NULL)
return *arg == '[' ? arg : NULL;
- lhs.lhs_name = NULL;
-
if (eap->cmdidx == CMD_increment || eap->cmdidx == CMD_decrement)
{
if (VIM_ISWHITE(eap->cmd[2]))