diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-23 04:07:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-23 04:07:13 +0000 |
commit | 01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8 (patch) | |
tree | e8ad6225e248c2869b6870f95dd07a2a9b7cfcb3 /winsup/cygwin/debug.cc | |
parent | 237e6cfa8284cd2718fecca62aac0e3034b120eb (diff) | |
download | cygnal-01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8.tar.gz cygnal-01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8.tar.bz2 cygnal-01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8.zip |
Respond to more g++ warnings relating to initializing structures.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index cbf3179be..077ccf088 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -23,7 +23,7 @@ typedef struct const char *name; } thread_info; -static NO_COPY thread_info threads[32] = {{0}}; // increase as necessary +static NO_COPY thread_info threads[32] = {{0, NULL}}; // increase as necessary #define NTHREADS (sizeof(threads) / sizeof(threads[0])) void @@ -173,10 +173,10 @@ typedef struct _h struct _h *next; } handle_list; -static NO_COPY handle_list starth = {0}; +static NO_COPY handle_list starth = {0, NULL, NULL, NULL, 0, NULL}; static NO_COPY handle_list *endh = NULL; -static handle_list NO_COPY freeh[1000] = {{0}}; +static handle_list NO_COPY freeh[1000] = {{0, NULL, NULL, NULL, 0, NULL}}; #define NFREEH (sizeof (freeh) / sizeof (freeh[0])) static muto NO_COPY *debug_lock = NULL; |