Initialize some uninitialized variables

This commit is contained in:
Federico Giovanardi 2024-11-27 09:30:34 +01:00
parent 04cb432e72
commit 7af489c369

View File

@ -12,7 +12,7 @@ UVW_INLINE void process_handle::exit_callback(uv_process_t *hndl, int64_t exit_s
}
UVW_INLINE process_handle::process_handle(loop::token token, std::shared_ptr<loop> ref)
: handle{token, std::move(ref)} {}
: handle{token, std::move(ref)}, po_flags{}, po_uid{}, po_gid{} {}
UVW_INLINE void process_handle::disable_stdio_inheritance() noexcept {
uv_disable_stdio_inheritance();