mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.0364: clang static analyzer gives warnings
Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
This commit is contained in:
committed by
Bram Moolenaar
parent
b18b496997
commit
c99e182e1f
@@ -2243,9 +2243,9 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
|
||||
r = compile_expr0_ext(&p, cctx, &is_const);
|
||||
if (lhs.lhs_new_local)
|
||||
++cctx->ctx_locals.ga_len;
|
||||
if (r == FAIL)
|
||||
goto theend;
|
||||
}
|
||||
if (r == FAIL)
|
||||
goto theend;
|
||||
}
|
||||
else if (semicolon && var_idx == var_count - 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user