0
0
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:
Yegappan Lakshmanan 2023-12-18 08:58:29 +01:00 committed by Christian Brabandt
parent 71cbe8e17a
commit 38ce1a7ac8
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -2000,7 +2000,7 @@ compile_defer(char_u *arg_start, cctx_T *cctx)
char_u *arg = arg_start;
int argcount = 0;
int defer_var_idx;
type_T *type;
type_T *type = NULL;
int func_idx;
// Get a funcref for the function name.