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

patch 9.0.0904: various comment and indent flaws

Problem:    Various comment and indent flaws.
Solution:   Improve comments and indenting.
This commit is contained in:
Bram Moolenaar
2022-11-18 22:14:09 +00:00
parent d13166e788
commit 88456cd3c4
14 changed files with 61 additions and 42 deletions

View File

@@ -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))