From d58c3793d6ccd618e13287974e8145f640a3185a Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 13 May 2017 07:30:50 +0000 Subject: Some other unused variables. --- grid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'grid.c') 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); -- cgit