aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-layout.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-09 14:53:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-09 14:53:51 +0000
commit648ce2f56adc071f93516887cf4a4c32f631d54e (patch)
treec0d2438bd54d426e6dab3fbcd833ce3408adc215 /cmd-select-layout.c
parent0648c587162da4eae0805e35805454c46be70321 (diff)
parent01da28efb112ef2096a80da616ca190d59ba9b52 (diff)
downloadrtmux-648ce2f56adc071f93516887cf4a4c32f631d54e.tar.gz
rtmux-648ce2f56adc071f93516887cf4a4c32f631d54e.tar.bz2
rtmux-648ce2f56adc071f93516887cf4a4c32f631d54e.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'cmd-select-layout.c')
-rw-r--r--cmd-select-layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-select-layout.c b/cmd-select-layout.c
index 862a2fc8..b2423e9c 100644
--- a/cmd-select-layout.c
+++ b/cmd-select-layout.c
@@ -87,13 +87,11 @@ cmd_select_layout_exec(struct cmd *self, struct cmd_ctx *ctx)
{
struct args *args = self->args;
struct winlink *wl;
- struct window *w;
const char *layoutname;
int next, previous, layout;
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL)
return (CMD_RETURN_ERROR);
- w = wl->window;
next = self->entry == &cmd_next_layout_entry;
if (args_has(self->args, 'n'))