=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/grid.c,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- src/usr.bin/tmux/grid.c 2017/05/12 15:18:13 1.72 +++ src/usr.bin/tmux/grid.c 2017/05/13 07:30:50 1.73 @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.72 2017/05/12 15:18:13 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.73 2017/05/13 07:30:50 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -286,7 +286,7 @@ 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 @@ 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);