Fix non-initialized variable in glib/gspawn-win32.c

This commit is contained in:
Loic Le Page 2022-01-19 19:00:20 +01:00 committed by Loïc Le Page
parent 499cb2cd1a
commit eaf37d63d0

View File

@ -978,7 +978,7 @@ g_spawn_sync (const gchar *working_directory,
gint reportpipe = -1;
GIOChannel *outchannel = NULL;
GIOChannel *errchannel = NULL;
GPollFD outfd, errfd;
GPollFD outfd = { -1, 0, 0 }, errfd = { -1, 0, 0 };
GPollFD fds[2];
gint nfds;
gint outindex = -1;