patch 9.0.0904: various comment and indent flaws
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
diff --git a/src/eval.c b/src/eval.c
index c57f6a4..84a7b26 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1366,7 +1366,6 @@
if (rettv != NULL && lp->ll_dict->dv_scope != 0)
{
int prevval;
- int wrong;
if (len != -1)
{
@@ -1375,7 +1374,7 @@
}
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))