From 9a4855295b9116e9bfe9003ec480e6bc27826bc7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 21 Oct 2009 18:12:31 +0000 Subject: Nuke dead store. --- cmd-pipe-pane.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd-pipe-pane.c') diff --git a/cmd-pipe-pane.c b/cmd-pipe-pane.c index 9a4f44d3..4fa43184 100644 --- a/cmd-pipe-pane.c +++ b/cmd-pipe-pane.c @@ -47,11 +47,10 @@ int cmd_pipe_pane_exec(struct cmd *self, struct cmd_ctx *ctx) { struct cmd_target_data *data = self->data; - struct winlink *wl; struct window_pane *wp; int old_fd, pipe_fd[2], null_fd, mode; - if ((wl = cmd_find_pane(ctx, data->target, NULL, &wp)) == NULL) + if (cmd_find_pane(ctx, data->target, NULL, &wp) == NULL) return (-1); /* Destroy the old pipe. */ -- cgit v1.2.3