mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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:
parent
1efefda623
commit
b3a01946b3
@ -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 */
|
||||||
|
/**/
|
||||||
|
2004,
|
||||||
/**/
|
/**/
|
||||||
2003,
|
2003,
|
||||||
/**/
|
/**/
|
||||||
|
@ -2626,7 +2626,7 @@ compile_call(
|
|||||||
char_u fname_buf[FLEN_FIXED + 1];
|
char_u fname_buf[FLEN_FIXED + 1];
|
||||||
char_u *tofree = NULL;
|
char_u *tofree = NULL;
|
||||||
int error = FCERR_NONE;
|
int error = FCERR_NONE;
|
||||||
ufunc_T *ufunc;
|
ufunc_T *ufunc = NULL;
|
||||||
int res = FAIL;
|
int res = FAIL;
|
||||||
int is_autoload;
|
int is_autoload;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user