summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_clipboard.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/fhandler_clipboard.cc
parent4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (diff)
downloadcygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.gz
cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.bz2
cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.zip
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/fhandler_clipboard.cc')
-rw-r--r--winsup/cygwin/fhandler_clipboard.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_clipboard.cc b/winsup/cygwin/fhandler_clipboard.cc
index ad7ec8733..97aaad884 100644
--- a/winsup/cygwin/fhandler_clipboard.cc
+++ b/winsup/cygwin/fhandler_clipboard.cc
@@ -30,7 +30,7 @@ details. */
static const char *CYGWIN_NATIVE = "CYGWIN_NATIVE_CLIPBOARD";
/* this is MT safe because windows format id's are atomic */
-static UINT cygnativeformat = 0;
+static UINT cygnativeformat;
fhandler_dev_clipboard::fhandler_dev_clipboard (const char *name):
fhandler_base (FH_CLIPBOARD, name)