diff options
author | kwolekr <kwolekr@minetest.net> | 2015-11-08 16:19:34 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-11-08 16:34:56 -0500 |
commit | 6f95bb1ef371c5e838f0df4d6e3edd9d6b132bf9 (patch) | |
tree | 4778a7790b68dbdc5546f70bf5f12d664fb883f8 /src/threading | |
parent | ad5ac39d8d1a8b8f6f0fe077e20bac914ddc624b (diff) | |
download | minetest-6f95bb1ef371c5e838f0df4d6e3edd9d6b132bf9.tar.gz minetest-6f95bb1ef371c5e838f0df4d6e3edd9d6b132bf9.tar.bz2 minetest-6f95bb1ef371c5e838f0df4d6e3edd9d6b132bf9.zip |
Fix misc. MinGW and Valgrind warnings
Diffstat (limited to 'src/threading')
-rw-r--r-- | src/threading/thread.cpp | 3 |
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; } |