diff options
Diffstat (limited to 'threadproc/win32/thread.c')
-rw-r--r-- | threadproc/win32/thread.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/threadproc/win32/thread.c b/threadproc/win32/thread.c index 4a6741a72..5a7bff929 100644 --- a/threadproc/win32/thread.c +++ b/threadproc/win32/thread.c @@ -73,7 +73,7 @@ APR_DECLARE(apr_status_t) apr_threadattr_guardsize_set(apr_threadattr_t *attr, } #ifdef APR_HAS_THREAD_LOCAL -static APR_THREAD_LOCAL apr_thread_t *current_thread; +static APR_THREAD_LOCAL apr_thread_t *current_thread = NULL; #endif static void *dummy_worker(void *opaque) @@ -91,9 +91,6 @@ static void *dummy_worker(void *opaque) apr_pool_destroy(thd->pool); } -#ifdef APR_HAS_THREAD_LOCAL - current_thread = NULL; -#endif return ret; } |