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


*** ../vim-8.2.0505/src/userfunc.c      2020-04-02 21:13:21.396362396 +0200
--- src/userfunc.c      2020-04-03 18:11:41.622856905 +0200
***************
*** 1321,1327 ****
        // A Lambda always has the command "return {expr}".  It is much faster
        // to evaluate {expr} directly.
        ++ex_nesting_level;
!       eval1(&p, rettv, TRUE);
        --ex_nesting_level;
      }
      else
--- 1321,1327 ----
        // A Lambda always has the command "return {expr}".  It is much faster
        // to evaluate {expr} directly.
        ++ex_nesting_level;
!       (void)eval1(&p, rettv, TRUE);
        --ex_nesting_level;
      }
      else
*** ../vim-8.2.0505/src/version.c       2020-04-03 12:56:10.783195402 +0200
--- src/version.c       2020-04-03 18:12:43.314605058 +0200
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     506,
  /**/

-- 
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.

 /// 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/202004031614.033GEaFo011183%40masaka.moolenaar.net.

Raspunde prin e-mail lui