From 810af5ea460eab820cc5899892067d8c242be688 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 2 Jul 2020 21:23:42 +0200 Subject: patch 8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. --- src/move.c | 2 -- src/version.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/move.c b/src/move.c index 5b3fb35fb..ec1ad38ad 100644 --- a/src/move.c +++ b/src/move.c @@ -2681,8 +2681,6 @@ halfpage(int flag, linenr_T Prenum) if (curwin->w_topfill > 0) { i = 1; - if (--n < 0 && scrolled > 0) - break; --curwin->w_topfill; } else diff --git a/src/version.c b/src/version.c index 2d9455929..c334ec686 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1118, /**/ 1117, /**/ -- cgit v1.2.1