aboutsummaryrefslogtreecommitdiff
path: root/src/threading
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading')
-rw-r--r--src/threading/thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/threading/thread.cpp b/src/threading/thread.cpp
index 57b551503..8688c4cbf 100644
--- a/src/threading/thread.cpp
+++ b/src/threading/thread.cpp
@@ -264,7 +264,8 @@ DWORD WINAPI Thread::threadProc(LPVOID param)
thr->m_running = false;
g_logger.deregisterThread();
- return NULL;
+ // 0 is returned here to avoid an unnecessary ifdef clause
+ return 0;
}