commit | 4a091b9978122428e7d9154d034c640c9c8d8c13 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 12 22:10:00 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 12 22:10:00 2020 +0200 |
tree | 10f22bfbac607334218680013e177751097a064d | |
parent | c6e57b74fa1e6090a27f886e2b3830fd1fa15708 [diff] [blame] |
patch 8.2.1672: v_lock is used when it is not initialized Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan) Solution: Initialize the typval in eval1().
diff --git a/src/eval.c b/src/eval.c index 3e972a2..18f3a5b 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -2103,6 +2103,8 @@ char_u *p; int getnext; + CLEAR_POINTER(rettv); + /* * Get the first variable. */