mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -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".
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2028,
|
||||
/**/
|
||||
2027,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user