Patch 8.2.2460

6 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 3, 2021, 1:57:32 PM2/3/21
to vim...@googlegroups.com

Patch 8.2.2460
Problem: Coverity warns for unused value.
Solution: Do not reset the return value to OK.
Files: src/vim9compile.c


*** ../vim-8.2.2459/src/vim9compile.c 2021-02-03 17:41:19.924245848 +0100
--- src/vim9compile.c 2021-02-03 19:55:27.358660745 +0100
***************
*** 5147,5153 ****
}
}
// TODO: warning for trailing text?
- r = OK;

theend:
vim_free(lambda_name);
--- 5147,5152 ----
*** ../vim-8.2.2459/src/version.c 2021-02-03 19:51:14.935468638 +0100
--- src/version.c 2021-02-03 19:56:26.842470355 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2460,
/**/

--
ARTHUR: Who are you?
TALL KNIGHT: We are the Knights Who Say "Ni"!
BEDEVERE: No! Not the Knights Who Say "Ni"!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// 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