From 83078bdcbcc845ea56cf05374190d2115c06dfcb Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 05:56:44 +0000 Subject: [PATCH] Unused variables. Found by lint, no binary change. --- screen-redraw.c | 2 -- tty.c | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) 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);