diff options
-rw-r--r-- | threadproc/win32/thread.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/threadproc/win32/thread.c b/threadproc/win32/thread.c index 34cf4851b..4e2c36ead 100644 --- a/threadproc/win32/thread.c +++ b/threadproc/win32/thread.c @@ -371,10 +371,8 @@ static BOOL WINAPI init_once_callback(PINIT_ONCE InitOnce, APR_DECLARE(apr_status_t) apr_thread_once(apr_thread_once_t *control, void (*func)(void)) { - PVOID lpContext; - if (!InitOnceExecuteOnce(&control->once, init_once_callback, func, - &lpContext)) { + NULL)) { return apr_get_os_error(); } |