X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fprocess.h;fp=source%2Fcore%2Fprocess.h;h=f21ecb337d76d5c8718b056478597968f04c0f9a;hp=55b62cd450c534309d72dd7d39fa96f2cedbfb1c;hb=122846f0881673770d88eff7d925ecf25c01b62e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9 diff --git a/source/core/process.h b/source/core/process.h index 55b62cd..f21ecb3 100644 --- a/source/core/process.h +++ b/source/core/process.h @@ -30,20 +30,19 @@ public: private: struct Private; - Private *priv; + Private *priv = 0; FS::Path work_dir; - bool redirect; - IO::Base *cin; - IO::Base *cout; - IO::Base *cerr; - bool running; - bool finished; - unsigned exit_code; + bool redirect = false; + IO::Base *cin = 0; + IO::Base *cout = 0; + IO::Base *cerr = 0; + bool running = false; + bool finished = false; + unsigned exit_code = 0; static Process *_self; Process(const Private &); - void init(); public: Process(); ~Process();