summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-select-layout.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-01-30 17:00:17 +0000
committernicm <nicm@openbsd.org>2013-01-30 17:00:17 +0000
commit7c2fffd5550aaedd57626f3a8797bf74eb6822e6 (patch)
treead37a6cd25ac5ce3a01669c941d4f5d91e2ecb52 /usr.bin/tmux/cmd-select-layout.c
parentbackout 5718/5719/5720 support. the diff breaks the 5704C on my xserve g5 (diff)
downloadwireguard-openbsd-7c2fffd5550aaedd57626f3a8797bf74eb6822e6.tar.xz
wireguard-openbsd-7c2fffd5550aaedd57626f3a8797bf74eb6822e6.zip
Unused variable/type nit from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/cmd-select-layout.c')
-rw-r--r--usr.bin/tmux/cmd-select-layout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-select-layout.c b/usr.bin/tmux/cmd-select-layout.c
index a450c25056e..2af4a700b19 100644
--- a/usr.bin/tmux/cmd-select-layout.c
+++ b/usr.bin/tmux/cmd-select-layout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-select-layout.c,v 1.17 2013/01/17 00:11:22 nicm Exp $ */
+/* $OpenBSD: cmd-select-layout.c,v 1.18 2013/01/30 17:00:17 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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'))