Nuke dead store.

This commit is contained in:
Nicholas Marriott 2009-10-21 18:12:31 +00:00
parent dd46f634fe
commit 9a4855295b

View File

@ -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. */