summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/miscfuncs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index e73ac2290..af0a355da 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -411,8 +411,6 @@ thread_wrapper (VOID *arg)
cfree (arg);
/* Remove _cygtls from this stack since it won't be used anymore. */
- _cygtls *tls;
- tls = &_my_tls;
_my_tls.remove (0);
/* Set stack values in TEB */