Patch 8.2.2536

8 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 20, 2021, 2:29:06 PM2/20/21
to vim...@googlegroups.com

Patch 8.2.2536
Problem: Coverity complains about unchecked return value.
Solution: Add (void).
Files: src/userfunc.c


*** ../vim-8.2.2535/src/userfunc.c 2021-02-19 19:13:13.087904339 +0100
--- src/userfunc.c 2021-02-20 20:12:04.241634555 +0100
***************
*** 4020,4026 ****
&& ufunc->uf_def_status == UF_TO_BE_COMPILED
&& (ufunc->uf_flags & FC_DEAD) == 0)
{
! compile_def_function(ufunc, FALSE, FALSE, NULL);

if (func_hashtab.ht_changed != changed)
{
--- 4020,4026 ----
&& ufunc->uf_def_status == UF_TO_BE_COMPILED
&& (ufunc->uf_flags & FC_DEAD) == 0)
{
! (void)compile_def_function(ufunc, FALSE, FALSE, NULL);

if (func_hashtab.ht_changed != changed)
{
*** ../vim-8.2.2535/src/version.c 2021-02-20 20:13:38.433336045 +0100
--- src/version.c 2021-02-20 20:25:39.810967588 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2536,
/**/

--
Save the plankton - eat a whale.

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages