diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-23 07:07:13 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-23 07:07:13 +0300 |
commit | 01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8 (patch) | |
tree | e8ad6225e248c2869b6870f95dd07a2a9b7cfcb3 /winsup/cygwin/spawn.cc | |
parent | 237e6cfa8284cd2718fecca62aac0e3034b120eb (diff) |
Respond to more g++ warnings relating to initializing structures.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 510031911..59b1e81c5 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -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; |