To: vim_dev@googlegroups.com Subject: Patch 8.2.3000 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///