summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-21 14:03:43 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-21 14:03:43 +0100
commit896ad2c33e562e4b674b7e0efbd43be85a64acc8 (patch)
tree45d95d44ffc11e1bf3198e201ace262614167cb5
parent9681f713924f4c51fa2ba3d6639639d4b1dba08a (diff)
patch 8.2.2028: Coverity warns for using an uninitialized variablev8.2.2028
Problem: Coverity warns for using an uninitialized variable. Solution: Initialize to NULL.
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 0365adc89f..33976d2a8d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -791,7 +791,7 @@ get_lval(
listitem_T *ni;
char_u *key = NULL;
int len;
- hashtab_T *ht;
+ hashtab_T *ht = NULL;
int quiet = flags & GLV_QUIET;
// Clear everything in "lp".
diff --git a/src/version.c b/src/version.c
index 95a0f8ca3e..0583f64b94 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 */
/**/
+ 2028,
+/**/
2027,
/**/
2026,