Patch 8.2.3000

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 15, 2021, 4:23:14 AM6/15/21
to vim...@googlegroups.com

Patch 8.2.3000
Problem: Vim9: warning for uninitialized variable.
Solution: Add initialization. (John Marriott)
Files: src/vim9compile.c


*** ../vim-8.2.2999/src/vim9compile.c 2021-06-14 20:40:33.590233925 +0200
--- src/vim9compile.c 2021-06-15 10:19:12.040057594 +0200
***************
*** 9051,9057 ****
{
dfunc_T *dfunc = ((dfunc_T *)def_functions.ga_data)
+ ufunc->uf_dfunc_idx;
! isn_T *instr_dest;

switch (compile_type)
{
--- 9051,9057 ----
{
dfunc_T *dfunc = ((dfunc_T *)def_functions.ga_data)
+ ufunc->uf_dfunc_idx;
! isn_T *instr_dest = NULL;

switch (compile_type)
{
*** ../vim-8.2.2999/src/version.c 2021-06-14 22:08:42.609468956 +0200
--- src/version.c 2021-06-15 10:22:00.583694694 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 3000,
/**/

--
Our job was to build a computer information system for the branch banks. We
were the perfect people for the job: Dean had seen a computer once, and I had
heard Dean talk about it.
(Scott Adams - The Dilbert principle)

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