diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-21 13:58:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-21 13:58:50 +0100 |
commit | 9681f713924f4c51fa2ba3d6639639d4b1dba08a (patch) | |
tree | 7414f50ca0d3c6a517baaf9a000b5ab1a7a53dc5 | |
parent | e79cdb69a4905ccf766494265d4c6f8701d10c39 (diff) |
patch 8.2.2027: Coverity warnts for uninitialized fieldv8.2.2027
Problem: Coverity warnts for uninitialized field.
Solution: Set "v_lock".
-rw-r--r-- | src/list.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c index 1a82a34077..e75a2a7413 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 80253553ef..95a0f8ca3e 100644 --- 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, |