To: vim_dev@googlegroups.com Subject: Patch 8.2.0506 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///