summaryrefslogtreecommitdiffstats
path: root/cmd-choose-tree.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-07-12 13:03:42 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-07-12 13:03:42 +0000
commit35a8a61254a190d2c4ec52f0525993ab1594bc44 (patch)
tree49c575c68c6ec0e2e5f111984fb4d31cf6e87708 /cmd-choose-tree.c
parentede8312d59c5d08990f83f38682c26434823525b (diff)
Nuke unused variable from Thomas Adam.
Diffstat (limited to 'cmd-choose-tree.c')
-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 166684f8..1fa40c96 100644
--- a/cmd-choose-tree.c
+++ b/cmd-choose-tree.c
@@ -76,7 +76,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, *final_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);