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/evalvars.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/evalvars.c')
-rw-r--r-- | src/evalvars.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index f5761f958..0d1fe821c 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -1089,7 +1089,6 @@ ex_let(exarg_T *eap) { // +=, /=, etc. require an existing variable semsg(_(e_cannot_use_operator_on_new_variable), eap->arg); - i = FAIL; } else if (vim_strchr((char_u *)"+-*/%.", *expr) != NULL) { @@ -1112,7 +1111,6 @@ ex_let(exarg_T *eap) vim_strncpy(op, expr - len, len); semsg(_(e_white_space_required_before_and_after_str_at_str), op, argend); - i = FAIL; } if (eap->skip) |