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:
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user