diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-07 13:56:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-07 13:56:44 +0000 |
commit | 54969f4ef5825205ecde09ea80f4087fc3b68e5d (patch) | |
tree | a33efdb636d52d421266829a530a15e8f3cedb16 /src/evalvars.c | |
parent | 63ff72aab91679725077eab5c5405267792268bd (diff) | |
download | vim-git-54969f4ef5825205ecde09ea80f4087fc3b68e5d.tar.gz |
patch 8.2.4318: various comment and indent mistakes, returning wrong zerov8.2.4318
Problem: Various comment and indent mistakes, returning wrong zero.
Solution: Fix the mistakes. Return NULL instead of FAIL.
Diffstat (limited to 'src/evalvars.c')
-rw-r--r-- | src/evalvars.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |