From 947fabc7519f1f674cb4f3fe2ad0d0c4c10afe21 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 16:05:39 +0000 Subject: [PATCH] Unused variables. Found by lint, no binary change. --- screen-redraw.c | 4 +--- tty.c | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/screen-redraw.c b/screen-redraw.c index 74cb3a29..76ea1148 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.36 2009-05-04 17:58:27 nicm Exp $ */ +/* $OpenBSD: screen-redraw.c,v 1.2 2009/06/25 05:56:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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 457c10dd..af6b1100 100644 --- a/tty.c +++ b/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.5 2009/06/24 16:01:02 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.6 2009/06/25 05:56:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -769,9 +769,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);