comparison src/userfunc.c @ 19900:ff89394116ea v8.2.0506

patch 8.2.0506: Coverity complains about ignoring return value Commit: https://github.com/vim/vim/commit/d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 3 18:13:57 2020 +0200 patch 8.2.0506: Coverity complains about ignoring return value Problem: Coverity complains about ignoring return value. Solution: Add (void).
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Apr 2020 18:15:03 +0200
parents 5feb426d2ea1
children d4fa9db88d16
comparison
equal deleted inserted replaced
19899:eea0515a4e8a 19900:ff89394116ea
1319 char_u *p = *(char_u **)fp->uf_lines.ga_data + 7; 1319 char_u *p = *(char_u **)fp->uf_lines.ga_data + 7;
1320 1320
1321 // A Lambda always has the command "return {expr}". It is much faster 1321 // A Lambda always has the command "return {expr}". It is much faster
1322 // to evaluate {expr} directly. 1322 // to evaluate {expr} directly.
1323 ++ex_nesting_level; 1323 ++ex_nesting_level;
1324 eval1(&p, rettv, TRUE); 1324 (void)eval1(&p, rettv, TRUE);
1325 --ex_nesting_level; 1325 --ex_nesting_level;
1326 } 1326 }
1327 else 1327 else
1328 // call do_cmdline() to execute the lines 1328 // call do_cmdline() to execute the lines
1329 do_cmdline(NULL, get_func_line, (void *)fc, 1329 do_cmdline(NULL, get_func_line, (void *)fc,