summaryrefslogtreecommitdiffstats
path: root/grid.c
diff options
context:
space:
mode:
authornicm <nicm>2017-05-13 07:30:50 +0000
committernicm <nicm>2017-05-13 07:30:50 +0000
commitd58c3793d6ccd618e13287974e8145f640a3185a (patch)
tree9cbc9b5f3ba57a6f6b1cb376b4c86eea4d29a8d9 /grid.c
parent50f1f1dce964d0f09d2ea2abba2abe093e775194 (diff)
Some other unused variables.
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/grid.c b/grid.c
index 3b03df75..f76980fb 100644
--- a/grid.c
+++ b/grid.c
@@ -286,7 +286,7 @@ grid_clear_history(struct grid *gd)
void
grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg)
{
- struct grid_line *gl_history, *gl_upper, *gl_lower;
+ struct grid_line *gl_history, *gl_upper;
u_int yy;
/* Create a space for a new line. */
@@ -302,7 +302,6 @@ grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg)
upper++;
gl_upper = &gd->linedata[upper];
lower++;
- gl_lower = &gd->linedata[lower];
/* Move the line into the history. */
memcpy(gl_history, gl_upper, sizeof *gl_history);