diff --git a/screen-redraw.c b/screen-redraw.c index 06033436..b95a5928 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -67,7 +67,6 @@ screen_redraw_screen(struct client *c) struct window *w = c->session->curw->window; struct tty *tty = &c->tty; struct window_pane *wp; - struct screen *s; u_int i, j, sx, sy; int status, has_acs; u_char choriz, cvert, cbackg; @@ -110,7 +109,6 @@ screen_redraw_screen(struct client *c) tty_reset(tty); - s = wp->screen; sx = wp->sx; sy = wp->sy; 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);