mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1034: compiler warning for uninitialized variables
Problem: Compiler warning for uninitialized variables. Solution: Add initializations. (John Marriott)
This commit is contained in:
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1034,
|
||||
/**/
|
||||
1033,
|
||||
/**/
|
||||
|
@@ -4357,9 +4357,9 @@ compile_expr1(char_u **arg, cctx_T *cctx, ppconst_T *ppconst)
|
||||
garray_T *instr = &cctx->ctx_instr;
|
||||
garray_T *stack = &cctx->ctx_type_stack;
|
||||
int alt_idx = instr->ga_len;
|
||||
int end_idx;
|
||||
int end_idx = 0;
|
||||
isn_T *isn;
|
||||
type_T *type1;
|
||||
type_T *type1 = NULL;
|
||||
type_T *type2;
|
||||
int has_const_expr = FALSE;
|
||||
int const_value = FALSE;
|
||||
|
Reference in New Issue
Block a user