diff options
author | Christopher Faylor <me@cgf.cx> | 2006-05-17 07:36:14 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-05-17 07:36:14 +0400 |
commit | 9fa8d227d41aaa7436b1065ca0a2922c0bf2dfa9 (patch) | |
tree | 42e59614c76c2c6e7b126f747df4cffdf1f694fc /winsup/cygwin/cygtls.cc | |
parent | 1e68a8ced0113808abebd7abb1f9de74f6c93f09 (diff) |
* cygtls.cc (_cygtls::remove): Don't test for initialization since this
function will always be called when _my_tls is initialized.
* init.cc (dll_entry): Don't attempt to remove tls info if _my_tls is obviously
not even available.
Diffstat (limited to 'winsup/cygwin/cygtls.cc')
-rw-r--r-- | winsup/cygwin/cygtls.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc index f897ca53f..4f4fe06e2 100644 --- a/winsup/cygwin/cygtls.cc +++ b/winsup/cygwin/cygtls.cc @@ -147,8 +147,6 @@ _cygtls::fixup_after_fork () void _cygtls::remove (DWORD wait) { - if (!isinitialized ()) - return; initialized = 0; if (!locals.exitsock || exit_state >= ES_FINAL) return; |