mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 8.2.2027: Coverity warnts for uninitialized field
Problem: Coverity warnts for uninitialized field. Solution: Set "v_lock".
This commit is contained in:
parent
e79cdb69a4
commit
9681f71392
@ -867,6 +867,7 @@ list_concat(list_T *l1, list_T *l2, typval_T *tv)
|
|||||||
if (l == NULL)
|
if (l == NULL)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
tv->v_type = VAR_LIST;
|
tv->v_type = VAR_LIST;
|
||||||
|
tv->v_lock = 0;
|
||||||
tv->vval.v_list = l;
|
tv->vval.v_list = l;
|
||||||
if (l1 == NULL)
|
if (l1 == NULL)
|
||||||
++l->lv_refcount;
|
++l->lv_refcount;
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2027,
|
||||||
/**/
|
/**/
|
||||||
2026,
|
2026,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user