diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-30 17:29:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-30 17:29:13 +0000 |
commit | 8810e84fa87f186513b4bfd9a75c4a2322c01393 (patch) | |
tree | d51c74bfe71f8e7de8438a74564a9f3c4b26cc1a /usr.bin/tmux/cmd-swap-pane.c | |
parent | 378655f1a17996843befe4abc78f61e326ec8068 (diff) |
Remove some dead code found by clang.
Diffstat (limited to 'usr.bin/tmux/cmd-swap-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-swap-pane.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-swap-pane.c b/usr.bin/tmux/cmd-swap-pane.c index 20c153a0e2c..bd1cdfc7d82 100644 --- a/usr.bin/tmux/cmd-swap-pane.c +++ b/usr.bin/tmux/cmd-swap-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-swap-pane.c,v 1.8 2009/07/30 13:45:56 nicm Exp $ */ +/* $OpenBSD: cmd-swap-pane.c,v 1.9 2009/07/30 17:29:12 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -72,7 +72,6 @@ cmd_swap_pane_exec(struct cmd *self, struct cmd_ctx *ctx) dst_w = dst_wl->window; if (data->src == NULL) { - src_wl = dst_wl; src_w = dst_w; if (data->chflags & CMD_CHFLAG('D')) { src_wp = TAILQ_NEXT(dst_wp, entry); |