summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/debug.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-01 16:37:46 +0000
committerChristopher Faylor <me@cgf.cx>2002-07-01 16:37:46 +0000
commitb5e1ec76321ff83c3fea18155ff3440eaa344b54 (patch)
treeb4e04b46e6d9299b5fc1066136d82f130ab9b1e8 /winsup/cygwin/debug.cc
parentdb57a3633615f6863b42c1ed694752dd4d70cc50 (diff)
downloadcygnal-b5e1ec76321ff83c3fea18155ff3440eaa344b54.tar.gz
cygnal-b5e1ec76321ff83c3fea18155ff3440eaa344b54.tar.bz2
cygnal-b5e1ec76321ff83c3fea18155ff3440eaa344b54.zip
* debug.cc (threads): Avoid initialization.
* uinfo.cc (cygheap_user::ontherange): (from Corinna Vinschen) Actually make below changes work.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index 5d3d63bbc..a530c5c34 100644
--- a/winsup/cygwin/debug.cc
+++ b/winsup/cygwin/debug.cc
@@ -31,7 +31,7 @@ typedef struct
const char *name;
} thread_info;
-static NO_COPY thread_info threads[32] = {{0, NULL}}; // increase as necessary
+static NO_COPY thread_info threads[32]; // increase as necessary
#define NTHREADS (sizeof (threads) / sizeof (threads[0]))
void