summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-01-01 00:44:25 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-01-01 00:44:25 +0000
commita6ac7fbb40bf907ea1f044367f9f66bf1fdea65b (patch)
treeb8de042d2a8a3d8f68e8e931f3f13ab403bcbc8c /usr.bin/tmux
parent784a3a47570d0c335a8263a3bb82e181eddd6ced (diff)
Remove unused variable.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/cmd-choose-buffer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-choose-buffer.c b/usr.bin/tmux/cmd-choose-buffer.c
index 93184c73476..16b6262cec0 100644
--- a/usr.bin/tmux/cmd-choose-buffer.c
+++ b/usr.bin/tmux/cmd-choose-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-choose-buffer.c,v 1.2 2010/12/30 23:16:18 nicm Exp $ */
+/* $OpenBSD: cmd-choose-buffer.c,v 1.3 2011/01/01 00:44:24 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -52,7 +52,6 @@ cmd_choose_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
{
struct cmd_target_data *data = self->data;
struct cmd_choose_buffer_data *cdata;
- struct session *s;
struct winlink *wl;
struct paste_buffer *pb;
u_int idx;
@@ -62,7 +61,6 @@ cmd_choose_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
ctx->error(ctx, "must be run interactively");
return (-1);
}
- s = ctx->curclient->session;
if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL)
return (-1);