summaryrefslogtreecommitdiffstats
path: root/cmd-select-layout.c
diff options
context:
space:
mode:
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 3ca8766e..c5f64a07 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'))