summaryrefslogtreecommitdiffstats
path: root/cmd-choose-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-01 00:44:24 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-01 00:44:24 +0000
commit91218f8714dafa83f49ece4435cc3d26a738a02e (patch)
treef4a4d3757ad627b1deae03900c5387d74ea20e79 /cmd-choose-buffer.c
parent1a1efd5bc9ec0ad05a61f2a222db69ed991bb4aa (diff)
Remove unused variable.
Diffstat (limited to 'cmd-choose-buffer.c')
-rw-r--r--cmd-choose-buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-choose-buffer.c b/cmd-choose-buffer.c
index 665f41b1..32bf2f2d 100644
--- a/cmd-choose-buffer.c
+++ b/cmd-choose-buffer.c
@@ -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);