Remove an unused variable

This commit is contained in:
ridiculousfish 2019-04-12 23:03:28 -07:00
parent 4e1fdaf5a7
commit 47b9907113

View file

@ -903,8 +903,6 @@ static bool exec_process_in_job(parser_t &parser, process_t *p, std::shared_ptr<
// The IO chain for this process. // The IO chain for this process.
io_chain_t process_net_io_chain = j->block_io_chain(); io_chain_t process_net_io_chain = j->block_io_chain();
auto cached_status = proc_get_last_status();
if (pipes.write.valid()) { if (pipes.write.valid()) {
process_net_io_chain.push_back(std::make_shared<io_pipe_t>( process_net_io_chain.push_back(std::make_shared<io_pipe_t>(
p->pipe_write_fd, false /* not input */, std::move(pipes.write))); p->pipe_write_fd, false /* not input */, std::move(pipes.write)));