diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-02 21:23:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-02 21:23:42 +0200 |
commit | 810af5ea460eab820cc5899892067d8c242be688 (patch) | |
tree | 07d036194ddced32496c10c031849a666aaeafe1 | |
parent | a9a8e5f0dc22aaa9e53578b5b2d7569279e6cb94 (diff) | |
download | vim-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.
-rw-r--r-- | src/move.c | 2 | ||||
-rw-r--r-- | 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 @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1118, +/**/ 1117, /**/ 1116, |