diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-11 16:47:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-11 16:47:26 +0200 |
commit | 16e63e6d353c8b7337470644ceac02dc5e569db9 (patch) | |
tree | 48331ea44e767e2b0f5997db51cc4e1239372332 /src/typval.c | |
parent | b85d3627d9a7b41d603c58a16d0ddbf6b88beeaf (diff) | |
download | vim-git-16e63e6d353c8b7337470644ceac02dc5e569db9.tar.gz |
patch 8.2.3329: v_lock not set when getting value of environment variablev8.2.3329
Problem: v_lock not set when getting value of environment variable.
Solution: Set v_lock to zero.
Diffstat (limited to 'src/typval.c')
-rw-r--r-- | src/typval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/typval.c b/src/typval.c index 5a62fa069..cdb617554 100644 --- a/src/typval.c +++ b/src/typval.c @@ -2082,6 +2082,7 @@ eval_env_var(char_u **arg, typval_T *rettv, int evaluate) rettv->v_type = VAR_STRING; rettv->vval.v_string = string; + rettv->v_lock = 0; } return OK; |