From 9681f713924f4c51fa2ba3d6639639d4b1dba08a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 Nov 2020 13:58:50 +0100 Subject: [PATCH] patch 8.2.2027: Coverity warnts for uninitialized field Problem: Coverity warnts for uninitialized field. Solution: Set "v_lock". --- src/list.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/list.c b/src/list.c index 1a82a3407..e75a2a741 100644 --- a/src/list.c +++ b/src/list.c @@ -867,6 +867,7 @@ list_concat(list_T *l1, list_T *l2, typval_T *tv) if (l == NULL) return FAIL; tv->v_type = VAR_LIST; + tv->v_lock = 0; tv->vval.v_list = l; if (l1 == NULL) ++l->lv_refcount; diff --git a/src/version.c b/src/version.c index 80253553e..95a0f8ca3 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2027, /**/ 2026, /**/ -- 2.50.1