diff options
author | 2017-05-13 07:30:50 +0000 | |
---|---|---|
committer | 2017-05-13 07:30:50 +0000 | |
commit | 1350555be8ed18ebf217f9c39e8768ee858f9b77 (patch) | |
tree | 1fc5a7edaff148878c8a0d68b0b41d1ff394f62b /usr.bin/tmux/grid.c | |
parent | - fix bug wrt posix_memalign(3) of blocks between half a page and a page (diff) | |
download | wireguard-openbsd-1350555be8ed18ebf217f9c39e8768ee858f9b77.tar.xz wireguard-openbsd-1350555be8ed18ebf217f9c39e8768ee858f9b77.zip |
Some other unused variables.
Diffstat (limited to 'usr.bin/tmux/grid.c')
-rw-r--r-- | usr.bin/tmux/grid.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index 08182e2f789..1ef52ff1674 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -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 <nicholas.marriott@gmail.com> @@ -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); |