mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.1133: compiler warning for uninitialized struct member
Problem: Compiler warning for uninitialized struct member. (Yegappan Lakshmanan) Solution: Add initializer field.
This commit is contained in:
@@ -320,7 +320,7 @@ EXTERN int want_garbage_collect INIT(= FALSE);
|
|||||||
EXTERN int garbage_collect_at_exit INIT(= FALSE);
|
EXTERN int garbage_collect_at_exit INIT(= FALSE);
|
||||||
|
|
||||||
// Script CTX being sourced or was sourced to define the current function.
|
// Script CTX being sourced or was sourced to define the current function.
|
||||||
EXTERN sctx_T current_sctx INIT(= {0 COMMA 0 COMMA 0});
|
EXTERN sctx_T current_sctx INIT(= {0 COMMA 0 COMMA 0 COMMA 0});
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EXTERN int did_source_packages INIT(= FALSE);
|
EXTERN int did_source_packages INIT(= FALSE);
|
||||||
|
@@ -771,6 +771,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 */
|
||||||
|
/**/
|
||||||
|
1133,
|
||||||
/**/
|
/**/
|
||||||
1132,
|
1132,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user