diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-01-03 23:26:14 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-01-03 23:26:14 +0000 |
commit | 09ef2c9f407bc70080a35b88de02df5c5f2bfae9 (patch) | |
tree | c31c1908df609c3149c5d812832a73e99463a831 /cmd-choose-buffer.c | |
parent | edc298d0a140707f4cabd4419f05c46a2649aeeb (diff) | |
download | rtmux-09ef2c9f407bc70080a35b88de02df5c5f2bfae9.tar.gz rtmux-09ef2c9f407bc70080a35b88de02df5c5f2bfae9.tar.bz2 rtmux-09ef2c9f407bc70080a35b88de02df5c5f2bfae9.zip |
Sync OpenBSD patchset 818:
Remove unused variable.
Diffstat (limited to 'cmd-choose-buffer.c')
-rw-r--r-- | cmd-choose-buffer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd-choose-buffer.c b/cmd-choose-buffer.c index 52974717..8ac9230c 100644 --- a/cmd-choose-buffer.c +++ b/cmd-choose-buffer.c @@ -1,4 +1,4 @@ -/* $Id: cmd-choose-buffer.c,v 1.2 2010-12-30 22:39:49 tcunha Exp $ */ +/* $Id: cmd-choose-buffer.c,v 1.3 2011-01-03 23:26:14 tcunha 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); |