mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.4661: Coverity warning for using uninitialized variable
Problem: Coverity warning for using uninitialized variable. Solution: Initialize variable to NULL.
This commit is contained in:
parent
782c6744b4
commit
ffe6e646dc
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4661,
|
||||
/**/
|
||||
4660,
|
||||
/**/
|
||||
|
@ -272,7 +272,7 @@ compile_load_scriptvar(
|
||||
char_u *p = skipwhite(*end);
|
||||
char_u *exp_name;
|
||||
int cc;
|
||||
ufunc_T *ufunc;
|
||||
ufunc_T *ufunc = NULL;
|
||||
type_T *type;
|
||||
int done = FALSE;
|
||||
int res = OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user