summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-25 05:56:44 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-25 05:56:44 +0000
commit83078bdcbcc845ea56cf05374190d2115c06dfcb (patch)
treecc901191552dc3493702b29ed64648987a8e36ec
parent74d0851ac5975a0dbaceb274056e518ca3e0b905 (diff)
Unused variables. Found by lint, no binary change.
-rw-r--r--screen-redraw.c2
-rw-r--r--tty.c4
2 files changed, 1 insertions, 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);