forked from aniani/vim
patch 8.2.2004: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. Solution: Initialize "ufunc". (John Marriott)
This commit is contained in:
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2004,
|
||||
/**/
|
||||
2003,
|
||||
/**/
|
||||
|
@@ -2626,7 +2626,7 @@ compile_call(
|
||||
char_u fname_buf[FLEN_FIXED + 1];
|
||||
char_u *tofree = NULL;
|
||||
int error = FCERR_NONE;
|
||||
ufunc_T *ufunc;
|
||||
ufunc_T *ufunc = NULL;
|
||||
int res = FAIL;
|
||||
int is_autoload;
|
||||
|
||||
|
Reference in New Issue
Block a user