aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2016-05-02 15:01:17 +1000
committerCraig Robbins <kde.psych@gmail.com>2016-05-02 15:01:17 +1000
commitc92cff5d52efa0f811b605efd8d77ff23e44b226 (patch)
treea4df6091fb8299860b89072c370dcd1f915345ad
parent8fe753c3d96957cb9d58d9f82677b993effe3652 (diff)
downloadminetest-c92cff5d52efa0f811b605efd8d77ff23e44b226.tar.gz
minetest-c92cff5d52efa0f811b605efd8d77ff23e44b226.tar.bz2
minetest-c92cff5d52efa0f811b605efd8d77ff23e44b226.zip
Fix Windows build
Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail
-rw-r--r--src/threading/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading/event.cpp b/src/threading/event.cpp
index b7f16154e..165f9d83f 100644
--- a/src/threading/event.cpp
+++ b/src/threading/event.cpp
@@ -26,7 +26,6 @@ DEALINGS IN THE SOFTWARE.
#include "threading/event.h"
Event::Event()
- : notified(false)
{
#if __cplusplus < 201103L
# ifdef _WIN32
@@ -34,6 +33,7 @@ Event::Event()
# else
pthread_cond_init(&cv, NULL);
pthread_mutex_init(&mutex, NULL);
+ notified = false;
# endif
#endif
}