From 54969f4ef5825205ecde09ea80f4087fc3b68e5d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 7 Feb 2022 13:56:44 +0000 Subject: patch 8.2.4318: various comment and indent mistakes, returning wrong zero Problem: Various comment and indent mistakes, returning wrong zero. Solution: Fix the mistakes. Return NULL instead of FAIL. --- src/evalvars.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/evalvars.c') diff --git a/src/evalvars.c b/src/evalvars.c index b3436067f..994b9799c 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -3461,7 +3461,8 @@ set_var_const( semsg(_(e_illegal_variable_name_str), name); goto failed; } - is_script_local = ht == get_script_local_ht() || sid != 0 || var_in_autoload; + is_script_local = ht == get_script_local_ht() || sid != 0 + || var_in_autoload; if (vim9script && !is_script_local -- cgit v1.2.1