summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Naumov <alexander_naumov@opensuse.org>2017-01-19 22:01:09 +0100
committerAlexander Naumov <alexander_naumov@opensuse.org>2017-01-19 22:01:09 +0100
commit285868e0e4a46cf50ccbc325b08217ffe3b8c94d (patch)
treeb88bfb62a05de16f6d7fb0952c1f31a56a9c0db3
parent6a5f8ac1cf2edc952ba298a900b4744d46317327 (diff)
downloadscreen-285868e0e4a46cf50ccbc325b08217ffe3b8c94d.tar.gz
variable 'oldtop' set but not used
-rw-r--r--src/display.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/display.c b/src/display.c
index b11b18b..0915c9a 100644
--- a/src/display.c
+++ b/src/display.c
@@ -1391,7 +1391,7 @@ int xs, ys, xe, ye, n, bce;
{
int i;
int up;
- int oldtop, oldbot;
+ int oldbot;
int alok, dlok, aldlfaster;
int missy = 0;
@@ -1430,7 +1430,6 @@ int xs, ys, xe, ye, n, bce;
if (n >= ye - ys + 1)
n = ye - ys + 1;
- oldtop = D_top;
oldbot = D_bot;
if (ys < D_top || D_bot != ye)
ChangeScrollRegion(ys, ye);