0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0376: clang warns for dead assignments

Problem:    Clang warns for dead assignments.
Solution:   Adjust the code. (Yegappan Lakshmanan, closes #11048)
This commit is contained in:
Yegappan Lakshmanan
2022-09-04 12:47:21 +01:00
committed by Bram Moolenaar
parent c8ac3a072f
commit 6b085b9d73
8 changed files with 14 additions and 27 deletions

View File

@@ -312,8 +312,6 @@ get_function_args(
// find the end of the expression (doesn't evaluate it)
any_default = TRUE;
p = skipwhite(p) + 1;
whitep = p;
p = skipwhite(p);
expr = p;
if (eval1(&p, &rettv, NULL) != FAIL)
{