Patch 8.2.1118

3 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 2, 2020, 3:24:13 PM7/2/20
to vim...@googlegroups.com

Patch 8.2.1118
Problem: Condition can never be true, dead code.
Solution: Remove the dead code.
Files: src/move.c


*** ../vim-8.2.1117/src/move.c 2020-02-28 22:19:38.314023342 +0100
--- src/move.c 2020-07-02 21:22:42.945685444 +0200
***************
*** 2681,2688 ****
if (curwin->w_topfill > 0)
{
i = 1;
- if (--n < 0 && scrolled > 0)
- break;
--curwin->w_topfill;
}
else
--- 2681,2686 ----
*** ../vim-8.2.1117/src/version.c 2020-07-02 21:17:52.523035495 +0200
--- src/version.c 2020-07-02 21:23:23.425498062 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1118,
/**/

--
DENNIS: You can't expect to wield supreme executive power just 'cause some
watery tart threw a sword at you!
"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