diff options
author | 2013-01-30 17:00:17 +0000 | |
---|---|---|
committer | 2013-01-30 17:00:17 +0000 | |
commit | 7c2fffd5550aaedd57626f3a8797bf74eb6822e6 (patch) | |
tree | ad37a6cd25ac5ce3a01669c941d4f5d91e2ecb52 /usr.bin/tmux/cmd-select-layout.c | |
parent | backout 5718/5719/5720 support. the diff breaks the 5704C on my xserve g5 (diff) | |
download | wireguard-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.c | 4 |
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')) |