aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-07-12 21:14:46 +0000
committerTiago Cunha <tcunha@gmx.com>2012-07-12 21:14:46 +0000
commitd697b5ef2068487bd4c8c92816a7b104679ab181 (patch)
tree05dfbe7a14cb4030abf2da5d7bccf80aa9d0058e
parent81858d7891942e218b203df7ac4f80aa8f48ab7e (diff)
downloadrtmux-d697b5ef2068487bd4c8c92816a7b104679ab181.tar.gz
rtmux-d697b5ef2068487bd4c8c92816a7b104679ab181.tar.bz2
rtmux-d697b5ef2068487bd4c8c92816a7b104679ab181.zip
Sync OpenBSD patchset 1152:
Nuke unused variable from Thomas Adam.
-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 0a5cd86a..b33bf345 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);