1
0
forked from aniani/vim

patch 8.2.1118: condition can never be true, dead code

Problem:    Condition can never be true, dead code.
Solution:   Remove the dead code.
This commit is contained in:
Bram Moolenaar
2020-07-02 21:23:42 +02:00
parent a9a8e5f0dc
commit 810af5ea46
2 changed files with 2 additions and 2 deletions

View File

@@ -2681,8 +2681,6 @@ halfpage(int flag, linenr_T Prenum)
if (curwin->w_topfill > 0) if (curwin->w_topfill > 0)
{ {
i = 1; i = 1;
if (--n < 0 && scrolled > 0)
break;
--curwin->w_topfill; --curwin->w_topfill;
} }
else else

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1118,
/**/ /**/
1117, 1117,
/**/ /**/