diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-09-03 09:36:07 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-09-03 09:36:07 +0000 |
commit | adc9fad4acc2f7e045b23b3672bca7f24ba10566 (patch) | |
tree | 61796b722bdd33f58c6b1f3d8b3002b194ae80c1 /cmd-choose-tree.c | |
parent | 9247c90d69c3efeeda7c7baa5c1ff82fb09da836 (diff) | |
download | rtmux-adc9fad4acc2f7e045b23b3672bca7f24ba10566.tar.gz rtmux-adc9fad4acc2f7e045b23b3672bca7f24ba10566.tar.bz2 rtmux-adc9fad4acc2f7e045b23b3672bca7f24ba10566.zip |
Remove an unused variable.
Diffstat (limited to 'cmd-choose-tree.c')
-rw-r--r-- | cmd-choose-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c index 269b8adb..45cb6dad 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); |