mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-26 00:29:46 +01:00
Nuke dead store.
This commit is contained in:
parent
dd46f634fe
commit
9a4855295b
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user