Respond to more g++ warnings relating to initializing structures.

This commit is contained in:
Christopher Faylor
2000-02-23 04:07:13 +00:00
parent 237e6cfa82
commit 01cf5d0f5d
9 changed files with 22 additions and 19 deletions

View File

@ -438,9 +438,8 @@ spawn_guts (HANDLE hToken, const char * prog_arg, const char *const *argv,
MALLOC_CHECK;
skip_arg_parsing:
PROCESS_INFORMATION pi = {0};
STARTUPINFO si = {0};
PROCESS_INFORMATION pi = {NULL, 0, 0, 0};
STARTUPINFO si = {0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL};
si.lpReserved = NULL;
si.lpDesktop = NULL;
si.dwFlags = STARTF_USESTDHANDLES;