To: vim_dev@googlegroups.com Subject: Patch 8.2.4661 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4661 Problem: Coverity warning for using uninitialized variable. Solution: Initialize variable to NULL. Files: src/vim9expr.c *** ../vim-8.2.4660/src/vim9expr.c 2022-03-31 20:02:52.422045605 +0100 --- src/vim9expr.c 2022-04-01 13:21:50.928738330 +0100 *************** *** 272,278 **** char_u *p = skipwhite(*end); char_u *exp_name; int cc; ! ufunc_T *ufunc; type_T *type; int done = FALSE; int res = OK; --- 272,278 ---- char_u *p = skipwhite(*end); char_u *exp_name; int cc; ! ufunc_T *ufunc = NULL; type_T *type; int done = FALSE; int res = OK; *** ../vim-8.2.4660/src/version.c 2022-04-01 12:04:53.171621974 +0100 --- src/version.c 2022-04-01 13:23:31.400577170 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4661, /**/ -- An indication you must be a manager: You can explain to somebody the difference between "re-engineering", "down-sizing", "right-sizing", and "firing people's asses". /// 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 ///