1
0
forked from aniani/vim

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

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