mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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().
This commit is contained in:
@@ -2103,6 +2103,8 @@ eval1(char_u **arg, typval_T *rettv, evalarg_T *evalarg)
|
||||
char_u *p;
|
||||
int getnext;
|
||||
|
||||
CLEAR_POINTER(rettv);
|
||||
|
||||
/*
|
||||
* Get the first variable.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user