mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 22:42:04 +01:00
refactor, subprocess: Remove unused Popen::child_created_
data member
This commit is contained in:
parent
9e1ccf55e1
commit
05b6f8793c
1 changed files with 0 additions and 3 deletions
|
@ -1027,7 +1027,6 @@ private:
|
|||
std::vector<std::string> vargs_;
|
||||
std::vector<char*> cargv_;
|
||||
|
||||
bool child_created_ = false;
|
||||
// Pid of the child process
|
||||
int child_pid_ = -1;
|
||||
|
||||
|
@ -1177,8 +1176,6 @@ inline void Popen::execute_process() noexcept(false)
|
|||
throw OSError("fork failed", errno);
|
||||
}
|
||||
|
||||
child_created_ = true;
|
||||
|
||||
if (child_pid_ == 0)
|
||||
{
|
||||
// Close descriptors belonging to parent
|
||||
|
|
Loading…
Add table
Reference in a new issue