changeset 22961:6426acc72539 v8.2.2027

patch 8.2.2027: Coverity warnts for uninitialized field Commit: https://github.com/vim/vim/commit/9681f713924f4c51fa2ba3d6639639d4b1dba08a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 21 13:58:50 2020 +0100 patch 8.2.2027: Coverity warnts for uninitialized field Problem: Coverity warnts for uninitialized field. Solution: Set "v_lock".
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 Nov 2020 14:00:04 +0100
parents 0fe441f6d90b
children 200234f07132
files src/list.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/list.c
+++ b/src/list.c
@@ -867,6 +867,7 @@ list_concat(list_T *l1, list_T *l2, typv
     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;
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2027,
+/**/
     2026,
 /**/
     2025,