aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tty.c b/tty.c
index d0c89afd..1a9307c5 100644
--- a/tty.c
+++ b/tty.c
@@ -759,9 +759,7 @@ tty_cmd_clearendofscreen(
struct tty *tty, struct window_pane *wp, unused va_list ap)
{
struct screen *s = wp->screen;
- u_int i, j, oy;
-
- oy = wp->yoff;
+ u_int i, j;
tty_reset(tty);