1
0
forked from aniani/vim

patch 8.2.2028: Coverity warns for using an uninitialized variable

Problem:    Coverity warns for using an uninitialized variable.
Solution:   Initialize to NULL.
This commit is contained in:
Bram Moolenaar
2020-11-21 14:03:43 +01:00
parent 9681f71392
commit 896ad2c33e
2 changed files with 3 additions and 1 deletions

View File

@@ -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".