diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-09-03 10:52:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-03 10:52:24 +0100 |
commit | c99e182e1fb54e39540d25d0ccd8dcdde25bb96c (patch) | |
tree | d0cec00ea2cd55d8fb68d353712b70d8be952e5f /src/vim9compile.c | |
parent | b18b49699776485150b71626069a40d12d2c5590 (diff) | |
download | vim-git-c99e182e1fb54e39540d25d0ccd8dcdde25bb96c.tar.gz |
patch 9.0.0364: clang static analyzer gives warningsv9.0.0364
Problem: Clang static analyzer gives warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 20366752c..a785ba98d 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -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) { |