From 6f95bb1ef371c5e838f0df4d6e3edd9d6b132bf9 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 8 Nov 2015 16:19:34 -0500 Subject: Fix misc. MinGW and Valgrind warnings --- src/threading/thread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/threading/thread.cpp') 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; } -- cgit v1.2.3