Skip to content

Commit 7af489c

Browse files
author
Federico Giovanardi
committed
Initialize some uninitialized variables
1 parent 04cb432 commit 7af489c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uvw/process.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ UVW_INLINE void process_handle::exit_callback(uv_process_t *hndl, int64_t exit_s
1212
}
1313

1414
UVW_INLINE process_handle::process_handle(loop::token token, std::shared_ptr<loop> ref)
15-
: handle{token, std::move(ref)} {}
15+
: handle{token, std::move(ref)}, po_flags{}, po_uid{}, po_gid{} {}
1616

1717
UVW_INLINE void process_handle::disable_stdio_inheritance() noexcept {
1818
uv_disable_stdio_inheritance();

0 commit comments

Comments
 (0)