summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-24 12:57:09 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-24 12:57:09 +0200
commitfd7ea0cedf528095cc887bd164b0ff8b2edb2f43 (patch)
treeea821fd1aa3b313ec7e738fc5f1bb5bf07d0c202 /src
parenta77b9081d4e17bfe8b887073c09d531b2f4c4842 (diff)
threadengine_win32 Don't ask for the thread id of newly created threads pointlessly
Diffstat (limited to 'src')
-rw-r--r--src/threadengines/threadengine_win32.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp
index 33eb707e4..90fe60b91 100644
--- a/src/threadengines/threadengine_win32.cpp
+++ b/src/threadengines/threadengine_win32.cpp
@@ -23,8 +23,7 @@
void ThreadEngine::Start(Thread* thread)
{
- DWORD ThreadId = 0;
- thread->state.handle = CreateThread(NULL, 0, ThreadEngine::Entry, thread, 0, &ThreadId);
+ thread->state.handle = CreateThread(NULL, 0, ThreadEngine::Entry, thread, 0, NULL);
if (thread->state.handle == NULL)
{