summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-06-25 05:56:45 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-06-25 05:56:45 +0000
commit5dfe6801aa6b1855032a9f5ef2d0b16524e00b2d (patch)
tree952cd2b72a4523ece8021e2e968a1c8f506bf6ae /usr.bin
parent25e506ec40306291fd04e2b1fdb6ad0df65babd9 (diff)
Unused variables. Found by lint, no binary change.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/screen-redraw.c4
-rw-r--r--usr.bin/tmux/tty.c6
2 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/tmux/screen-redraw.c b/usr.bin/tmux/screen-redraw.c
index 4f6ee46a3d5..76ea1148132 100644
--- a/usr.bin/tmux/screen-redraw.c
+++ b/usr.bin/tmux/screen-redraw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-redraw.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */
+/* $OpenBSD: screen-redraw.c,v 1.2 2009/06/25 05:56:44 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index dc1129fd584..f1d6d81a21c 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/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 <nicm@users.sourceforge.net>
@@ -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);