diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-21 15:18:59 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-21 15:35:05 -0500 |
commit | ce3668ed39da8706385cd824de90c40a1da0a704 (patch) | |
tree | af9fefdec37308265fb4c77e887557236ace7ecc | |
parent | 5a4f049c38ef41a49991162df73a10b9ac50b50d (diff) | |
download | rneovim-ce3668ed39da8706385cd824de90c40a1da0a704.tar.gz rneovim-ce3668ed39da8706385cd824de90c40a1da0a704.tar.bz2 rneovim-ce3668ed39da8706385cd824de90c40a1da0a704.zip |
vim-patch:8.2.2027: Coverity warnts for uninitialized field
Problem: Coverity warnts for uninitialized field.
Solution: Set "v_lock".
https://github.com/vim/vim/commit/9681f713924f4c51fa2ba3d6639639d4b1dba08a
-rw-r--r-- | src/nvim/eval/typval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c index ada6f78f10..b62820fecc 100644 --- a/src/nvim/eval/typval.c +++ b/src/nvim/eval/typval.c @@ -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) { |