Patch 8.2.1034

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 21, 2020, 4:17:58 PM6/21/20
to vim...@googlegroups.com

Patch 8.2.1034
Problem: Compiler warning for uninitialized variables.
Solution: Add initializations. (John Marriott)
Files: src/vim9compile.c


*** ../vim-8.2.1033/src/vim9compile.c 2020-06-21 20:38:24.492641761 +0200
--- src/vim9compile.c 2020-06-21 22:15:10.020646799 +0200
***************
*** 4357,4365 ****
garray_T *instr = &cctx->ctx_instr;
garray_T *stack = &cctx->ctx_type_stack;
int alt_idx = instr->ga_len;
! int end_idx;
isn_T *isn;
! type_T *type1;
type_T *type2;
int has_const_expr = FALSE;
int const_value = FALSE;
--- 4357,4365 ----
garray_T *instr = &cctx->ctx_instr;
garray_T *stack = &cctx->ctx_type_stack;
int alt_idx = instr->ga_len;
! int end_idx = 0;
isn_T *isn;
! type_T *type1 = NULL;
type_T *type2;
int has_const_expr = FALSE;
int const_value = FALSE;
*** ../vim-8.2.1033/src/version.c 2020-06-21 20:39:33.384443962 +0200
--- src/version.c 2020-06-21 22:17:05.888262730 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1034,
/**/

--
LAUNCELOT: Isn't there a St. Aaaaarrrrrrggghhh's in Cornwall?
ARTHUR: No, that's Saint Ives.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages