mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
Fix missing initializer warning in gio/gsubprocess.c:initable_init()
gio/gsubprocess.c: In function ‘initable_init’: gio/gsubprocess.c:454:3: error: missing initializer for field ‘child_setup_data’ of ‘ChildData’ 454 | ChildData child_data = { { -1, -1, -1 }, 0 }; | ^~~~~~~~~
This commit is contained in:
parent
be2df3f8b2
commit
a93a6a5459
@ -451,7 +451,7 @@ initable_init (GInitable *initable,
|
||||
{
|
||||
GSubprocess *self = G_SUBPROCESS (initable);
|
||||
#ifdef G_OS_UNIX
|
||||
ChildData child_data = { { -1, -1, -1 }, 0 };
|
||||
ChildData child_data = { { -1, -1, -1 }, 0, NULL, NULL, NULL };
|
||||
#endif
|
||||
gint *pipe_ptrs[3] = { NULL, NULL, NULL };
|
||||
gint pipe_fds[3] = { -1, -1, -1 };
|
||||
|
Loading…
Reference in New Issue
Block a user