Mercurial > vim
comparison src/move.c @ 21134:0abcf69badda v8.2.1118
patch 8.2.1118: condition can never be true, dead code
Commit: https://github.com/vim/vim/commit/810af5ea460eab820cc5899892067d8c242be688
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 2 21:23:42 2020 +0200
patch 8.2.1118: condition can never be true, dead code
Problem: Condition can never be true, dead code.
Solution: Remove the dead code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 02 Jul 2020 21:30:04 +0200 |
parents | 9e428147e4ee |
children | 1421eca61db9 |
comparison
equal
deleted
inserted
replaced
21133:a5fec5bd4e7b | 21134:0abcf69badda |
---|---|
2679 { | 2679 { |
2680 #ifdef FEAT_DIFF | 2680 #ifdef FEAT_DIFF |
2681 if (curwin->w_topfill > 0) | 2681 if (curwin->w_topfill > 0) |
2682 { | 2682 { |
2683 i = 1; | 2683 i = 1; |
2684 if (--n < 0 && scrolled > 0) | |
2685 break; | |
2686 --curwin->w_topfill; | 2684 --curwin->w_topfill; |
2687 } | 2685 } |
2688 else | 2686 else |
2689 #endif | 2687 #endif |
2690 { | 2688 { |