From: Bram Moolenaar Date: Sat, 21 Nov 2020 12:58:50 +0000 (+0100) Subject: patch 8.2.2027: Coverity warnts for uninitialized field X-Git-Tag: v8.2.2027 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9681f713924f4c51fa2ba3d6639639d4b1dba08a;p=vim patch 8.2.2027: Coverity warnts for uninitialized field Problem: Coverity warnts for uninitialized field. Solution: Set "v_lock". --- 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, /**/