diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-18 22:14:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-18 22:14:09 +0000 |
commit | 88456cd3c49a3dd1fda17cf350daa9b8216b1aa6 (patch) | |
tree | bd241035e3d905b74667faca9f75e48c9c9c310d /src/eval.c | |
parent | d13166e788fcaef59ec65c20b46ca4be16625669 (diff) |
patch 9.0.0904: various comment and indent flawsv9.0.0904
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index c57f6a4a05..84a7b26203 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1366,7 +1366,6 @@ get_lval( if (rettv != NULL && lp->ll_dict->dv_scope != 0) { int prevval; - int wrong; if (len != -1) { @@ -1375,7 +1374,7 @@ get_lval( } else prevval = 0; // avoid compiler warning - wrong = (lp->ll_dict->dv_scope == VAR_DEF_SCOPE + int wrong = (lp->ll_dict->dv_scope == VAR_DEF_SCOPE && (rettv->v_type == VAR_FUNC || rettv->v_type == VAR_PARTIAL) && var_wrong_func_name(key, lp->ll_di == NULL)) |