summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-01 06:07:15 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-01 06:07:15 +0000
commit8eb1c80ffa1f2bec2c977b5d6d4847c8a85f0aba (patch)
tree525db950ef6ed32a31c8623dfa1ba4fbc1bc376b /usr.bin/tmux
parentd547966bd5e1c7754dba039d69f6a000e69a190d (diff)
Remove unused variable from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux')
-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 27033de6d26..661d69fbfd2 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.218 2019/04/29 06:55:21 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.219 2019/05/01 06:07:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1003,7 +1003,7 @@ window_copy_cmd_previous_matching_bracket(struct window_copy_cmd_state *cs)
struct screen *s = data->backing;
char open[] = "{[(", close[] = "}])";
char tried, found, start, *cp;
- u_int px, py, xx, yy, n;
+ u_int px, py, xx, n;
struct grid_cell gc;
int failed;
@@ -1012,7 +1012,6 @@ window_copy_cmd_previous_matching_bracket(struct window_copy_cmd_state *cs)
px = data->cx;
py = screen_hsize(s) + data->cy - data->oy;
xx = window_copy_find_length(wme, py);
- yy = screen_hsize(s) + screen_size_y(s) - 1;
if (xx == 0)
break;