mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.2175: Compiler warning for uninitialized var
Problem: Compiler warning for uninitialized var Solution: initialize variable to NULL closes: #13711 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
71cbe8e17a
commit
38ce1a7ac8
@ -704,6 +704,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 */
|
||||||
|
/**/
|
||||||
|
2175,
|
||||||
/**/
|
/**/
|
||||||
2174,
|
2174,
|
||||||
/**/
|
/**/
|
||||||
|
@ -2000,7 +2000,7 @@ compile_defer(char_u *arg_start, cctx_T *cctx)
|
|||||||
char_u *arg = arg_start;
|
char_u *arg = arg_start;
|
||||||
int argcount = 0;
|
int argcount = 0;
|
||||||
int defer_var_idx;
|
int defer_var_idx;
|
||||||
type_T *type;
|
type_T *type = NULL;
|
||||||
int func_idx;
|
int func_idx;
|
||||||
|
|
||||||
// Get a funcref for the function name.
|
// Get a funcref for the function name.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user