mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00: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:
@@ -725,7 +725,7 @@ int tv_list_concat(list_T *const l1, list_T *const l2, typval_T *const tv)
|
|||||||
list_T *l;
|
list_T *l;
|
||||||
|
|
||||||
tv->v_type = VAR_LIST;
|
tv->v_type = VAR_LIST;
|
||||||
|
tv->v_lock = VAR_UNLOCKED;
|
||||||
if (l1 == NULL && l2 == NULL) {
|
if (l1 == NULL && l2 == NULL) {
|
||||||
l = NULL;
|
l = NULL;
|
||||||
} else if (l1 == NULL) {
|
} else if (l1 == NULL) {
|
||||||
|
Reference in New Issue
Block a user