summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-05-23 20:03:15 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-05-23 20:03:15 +0000
commitf374e960d0262f2b918a1fbee13f24da17c6cdc5 (patch)
treee318820c7b24df78e71dc241af9a9200f3193aae
parent19abf77ff2f815f72ceead165fcb8708ab5b3298 (diff)
Remove unused variable, from Ben Boeckel.
-rw-r--r--usr.bin/tmux/window-copy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index d3f84b160ee..9e0f0fe6c83 100644
--- a/usr.bin/tmux/window-copy.c
+++ b/usr.bin/tmux/window-copy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-copy.c,v 1.150 2016/05/03 13:40:50 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.151 2016/05/23 20:03:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -423,10 +423,9 @@ void
window_copy_previous_paragraph(struct window_pane *wp)
{
struct window_copy_mode_data *data = wp->modedata;
- u_int ox, oy;
+ u_int oy;
oy = screen_hsize(data->backing) + data->cy - data->oy;
- ox = window_copy_find_length(wp, oy);
while (oy > 0 && window_copy_find_length(wp, oy) == 0)
oy--;