To: vim_dev@googlegroups.com Subject: Patch 8.2.2004 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2004 (after 8.2.2002) Problem: Compiler warning for uninitialized variable. Solution: Initialize "ufunc". (John Marriott) Files: src/vim9compile.c *** ../vim-8.2.2003/src/vim9compile.c 2020-11-17 18:50:40.791592326 +0100 --- src/vim9compile.c 2020-11-17 19:38:37.800343196 +0100 *************** *** 2626,2632 **** char_u fname_buf[FLEN_FIXED + 1]; char_u *tofree = NULL; int error = FCERR_NONE; ! ufunc_T *ufunc; int res = FAIL; int is_autoload; --- 2626,2632 ---- char_u fname_buf[FLEN_FIXED + 1]; char_u *tofree = NULL; int error = FCERR_NONE; ! ufunc_T *ufunc = NULL; int res = FAIL; int is_autoload; *** ../vim-8.2.2003/src/version.c 2020-11-17 19:22:03.582938025 +0100 --- src/version.c 2020-11-17 19:39:38.276191525 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2004, /**/ -- hundred-and-one symptoms of being an internet addict: 267. You get an extra phone line so you can get phone calls. /// Bram Moolenaar -- Bram@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 ///