Patch 8.2.4661

5 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 1, 2022, 8:24:32 AM4/1/22
to vim...@googlegroups.com

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 -- 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