aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/shared.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-06 04:41:59 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-06 04:41:59 +0000
commit08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (patch)
treea894d2763c28d56bc24769252b17870c38ab7141 /winsup/cygwin/shared.cc
parent4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (diff)
downloadnewlib-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.zip
newlib-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.gz
newlib-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.bz2
Remove initialization of static or global values to zero, throughout. This
just needlessly grows the size of the DLL. * tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for thread safety.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r--winsup/cygwin/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc
index 91fc48e..5622765 100644
--- a/winsup/cygwin/shared.cc
+++ b/winsup/cygwin/shared.cc
@@ -31,7 +31,7 @@ details. */
shared_info NO_COPY *cygwin_shared = NULL;
mount_info NO_COPY *mount_table = NULL;
-HANDLE cygwin_mount_h = NULL;
+HANDLE cygwin_mount_h;
/* General purpose security attribute objects for global use. */
SECURITY_ATTRIBUTES NO_COPY sec_none;