diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-01-01 00:44:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-01-01 00:44:25 +0000 |
commit | a6ac7fbb40bf907ea1f044367f9f66bf1fdea65b (patch) | |
tree | b8de042d2a8a3d8f68e8e931f3f13ab403bcbc8c /usr.bin/tmux | |
parent | 784a3a47570d0c335a8263a3bb82e181eddd6ced (diff) |
Remove unused variable.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/cmd-choose-buffer.c | 4 |
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); |