mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.2027: Coverity warnts for uninitialized field
Problem: Coverity warnts for uninitialized field.
Solution: Set "v_lock".
9681f71392
This commit is contained in:
parent
5a4f049c38
commit
ce3668ed39
@ -725,7 +725,7 @@ int tv_list_concat(list_T *const l1, list_T *const l2, typval_T *const tv)
|
||||
list_T *l;
|
||||
|
||||
tv->v_type = VAR_LIST;
|
||||
|
||||
tv->v_lock = VAR_UNLOCKED;
|
||||
if (l1 == NULL && l2 == NULL) {
|
||||
l = NULL;
|
||||
} else if (l1 == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user