refactor: Initialize data
This commit is contained in:
parent
f9062d031c
commit
a0d485f79d
28 changed files with 55 additions and 54 deletions
include/utils
|
@ -66,11 +66,11 @@ namespace command_util {
|
|||
|
||||
string m_cmd;
|
||||
|
||||
int m_stdout[2];
|
||||
int m_stdin[2];
|
||||
int m_stdout[2]{};
|
||||
int m_stdin[2]{};
|
||||
|
||||
pid_t m_forkpid;
|
||||
int m_forkstatus;
|
||||
pid_t m_forkpid{};
|
||||
int m_forkstatus{};
|
||||
|
||||
concurrency_util::spin_lock m_pipelock;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue