diff --git a/glib/gspawn-win32.c b/glib/gspawn-win32.c index 02eddccf1..d3864d54d 100644 --- a/glib/gspawn-win32.c +++ b/glib/gspawn-win32.c @@ -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;