summaryrefslogtreecommitdiff
path: root/src/move.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-02 21:23:42 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-02 21:23:42 +0200
commit810af5ea460eab820cc5899892067d8c242be688 (patch)
tree07d036194ddced32496c10c031849a666aaeafe1 /src/move.c
parenta9a8e5f0dc22aaa9e53578b5b2d7569279e6cb94 (diff)
downloadvim-git-810af5ea460eab820cc5899892067d8c242be688.tar.gz
patch 8.2.1118: condition can never be true, dead codev8.2.1118
Problem: Condition can never be true, dead code. Solution: Remove the dead code.
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c2
1 files changed, 0 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