mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4643: Vim9: variable may be locked unintentionally
Problem: Vim9: variable may be locked unintentionally. Solution: Clear "v_lock". (closes #10036)
This commit is contained in:
@@ -937,6 +937,7 @@ call_prepare(int argcount, typval_T *argvars, ectx_T *ectx)
|
||||
tv = STACK_TV_BOT(-1);
|
||||
tv->v_type = VAR_NUMBER;
|
||||
tv->vval.v_number = 0;
|
||||
tv->v_lock = 0;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user