mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
Sync OpenBSD patchset 430:
Nuke dead store.
This commit is contained in:
parent
dbf2351d3a
commit
d7d4d7830b
@ -1,4 +1,4 @@
|
||||
/* $Id: cmd-pipe-pane.c,v 1.2 2009-10-12 00:36:31 tcunha Exp $ */
|
||||
/* $Id: cmd-pipe-pane.c,v 1.3 2009-10-23 17:26:40 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -46,11 +46,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. */
|
||||
|
Loading…
Reference in New Issue
Block a user