0
0
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:
Bram Moolenaar 2022-04-01 13:23:47 +01:00
parent 782c6744b4
commit ffe6e646dc
2 changed files with 3 additions and 1 deletions

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4661,
/**/
4660,
/**/

View File

@ -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;