Patch 8.2.0326
Problem:    Compiler warning for using uninitialized variable. (Yegappan
            Lakshmanan)
Solution:   Do not jump to failed but return.
Files:      src/vim9execute.c


*** ../vim-8.2.0325/src/vim9execute.c   2020-02-26 21:24:19.157582116 +0100
--- src/vim9execute.c   2020-02-27 21:46:11.003203126 +0100
***************
*** 436,442 ****
      vim_memset(&ectx, 0, sizeof(ectx));
      ga_init2(&ectx.ec_stack, sizeof(typval_T), 500);
      if (ga_grow(&ectx.ec_stack, 20) == FAIL)
!       goto failed;
      ectx.ec_dfunc_idx = ufunc->uf_dfunc_idx;
  
      ga_init2(&ectx.ec_trystack, sizeof(trycmd_T), 10);
--- 436,442 ----
      vim_memset(&ectx, 0, sizeof(ectx));
      ga_init2(&ectx.ec_stack, sizeof(typval_T), 500);
      if (ga_grow(&ectx.ec_stack, 20) == FAIL)
!       return FAIL;
      ectx.ec_dfunc_idx = ufunc->uf_dfunc_idx;
  
      ga_init2(&ectx.ec_trystack, sizeof(trycmd_T), 10);
*** ../vim-8.2.0325/src/version.c       2020-02-27 21:32:38.681185130 +0100
--- src/version.c       2020-02-27 21:48:02.910870515 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     326,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
127. You bring your laptop and cellular phone to church.

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202002281006.01SA6J3I009907%40masaka.moolenaar.net.

Raspunde prin e-mail lui