mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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;
|
listitem_T *ni;
|
||||||
char_u *key = NULL;
|
char_u *key = NULL;
|
||||||
int len;
|
int len;
|
||||||
hashtab_T *ht;
|
hashtab_T *ht = NULL;
|
||||||
int quiet = flags & GLV_QUIET;
|
int quiet = flags & GLV_QUIET;
|
||||||
|
|
||||||
// Clear everything in "lp".
|
// Clear everything in "lp".
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2028,
|
||||||
/**/
|
/**/
|
||||||
2027,
|
2027,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user