Patch 8.2.2459
Problem: Coverity reports dead code.
Solution: Remove the dead code.
Files: src/eval.c
*** ../vim-8.2.2458/src/eval.c 2021-02-03 17:41:19.924245848 +0100
--- src/eval.c 2021-02-03 19:50:29.675613486 +0100
***************
*** 4077,4084 ****
n2 = len + n2;
else if (n2 >= len)
n2 = len;
- if (exclusive)
- --n2;
if (n1 >= len || n2 < 0 || n1 > n2)
s = NULL;
else
--- 4077,4082 ----
*** ../vim-8.2.2458/src/version.c 2021-02-03 19:44:20.756793885 +0100
--- src/version.c 2021-02-03 19:51:00.155515937 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2459,
/**/
--
"Never be afraid to tell the world who you are."
-- Anonymous
/// 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/202102031851.113Ipf8C1843272%40masaka.moolenaar.net.