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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202102201928.11KJSxdd3030465%40masaka.moolenaar.net.

Raspunde prin e-mail lui