Skip to content

Commit 896ad2c

Browse files
committed
patch 8.2.2028: Coverity warns for using an uninitialized variable
Problem: Coverity warns for using an uninitialized variable. Solution: Initialize to NULL.
1 parent 9681f71 commit 896ad2c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ get_lval(
791791
listitem_T *ni;
792792
char_u *key = NULL;
793793
int len;
794-
hashtab_T *ht;
794+
hashtab_T *ht = NULL;
795795
int quiet = flags & GLV_QUIET;
796796

797797
// Clear everything in "lp".

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2028,
753755
/**/
754756
2027,
755757
/**/

0 commit comments

Comments
 (0)