diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-06-20 12:55:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-06-20 12:55:56 +0000 |
commit | cfc0a76afd4296c2d5408b6f0a4c5925eea5e216 (patch) | |
tree | 7b5485d3b55d4286fdec9a2a3cb7defefad3589d | |
parent | ac61b9e9a6aa18c2bf64328f9960a33080bfa24e (diff) |
Remove a couple of unused variables from redbrain at gcc dot gnu dot org.
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 | ||||
-rw-r--r-- | usr.bin/tmux/tty.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 02238bea9bb..d0f098fed52 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.75 2012/06/18 13:16:42 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.76 2012/06/20 12:55:55 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -345,7 +345,6 @@ server_client_handle_key(struct client *c, int key) struct session *s; struct window *w; struct window_pane *wp; - struct options *oo; struct timeval tv; struct key_binding *bd; int xtimeout, isprefix; @@ -364,7 +363,6 @@ server_client_handle_key(struct client *c, int key) w = c->session->curw->window; wp = w->active; - oo = &c->session->options; /* Special case: number keys jump to pane in identify mode. */ if (c->flags & CLIENT_IDENTIFY && key >= '0' && key <= '9') { diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 61b1ec106f7..2ca1ea3c0ba 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.136 2012/05/22 14:32:28 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.137 2012/06/20 12:55:55 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -668,7 +668,6 @@ tty_write( struct window_pane *wp = ctx->wp; struct client *c; struct session *s; - struct options *oo; u_int i; /* wp can be NULL if updating the screen but not the terminal. */ @@ -693,7 +692,6 @@ tty_write( continue; if (c->tty.flags & TTY_FREEZE) continue; - oo = &s->options; ctx->xoff = wp->xoff; ctx->yoff = wp->yoff; |