aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-09-03 09:36:07 +0000
committerThomas Adam <thomas@xteddy.org>2012-09-04 22:36:56 +0100
commit996a636713e58709ab15fcb753c7e2614d1ec6c3 (patch)
treee8d4918822cd4f29aa38bfd4a22265858eef5c8e
parent41a448193f2cce87c9e7125f7a71e19acb928604 (diff)
downloadrtmux-996a636713e58709ab15fcb753c7e2614d1ec6c3.tar.gz
rtmux-996a636713e58709ab15fcb753c7e2614d1ec6c3.tar.bz2
rtmux-996a636713e58709ab15fcb753c7e2614d1ec6c3.zip
Remove an unused variable.
-rw-r--r--cmd-choose-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c
index 35a98c53..e592e7d9 100644
--- a/cmd-choose-tree.c
+++ b/cmd-choose-tree.c
@@ -74,7 +74,6 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx *ctx)
struct args *args = self->args;
struct winlink *wl, *wm;
struct session *s, *s2;
- struct tty *tty;
struct window_choose_data *wcd = NULL;
const char *ses_template, *win_template;
char *final_win_action, *cur_win_template;
@@ -93,7 +92,6 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx *ctx)
}
s = ctx->curclient->session;
- tty = &ctx->curclient->tty;
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL)
return (CMD_RETURN_ERROR);