aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeno- <kde.psych@gmail.com>2017-05-15 20:10:29 +1000
committerGitHub <noreply@github.com>2017-05-15 20:10:29 +1000
commit1bf9b25fb47d086a3f323c86278de7c235855fb0 (patch)
tree30b9a5ef65936e77c66525ef7e4c84aded8f519b
parent018217f6b2058db44b59a86e170614e1c6925f9f (diff)
downloadminetest-1bf9b25fb47d086a3f323c86278de7c235855fb0.tar.gz
minetest-1bf9b25fb47d086a3f323c86278de7c235855fb0.tar.bz2
minetest-1bf9b25fb47d086a3f323c86278de7c235855fb0.zip
Fix uninitalised variable in event.cpp (#5764)
-rw-r--r--src/threading/event.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/threading/event.cpp b/src/threading/event.cpp
index 0d5928f10..a22c6628b 100644
--- a/src/threading/event.cpp
+++ b/src/threading/event.cpp
@@ -35,6 +35,8 @@ Event::Event()
pthread_mutex_init(&mutex, NULL);
notified = false;
# endif
+#elif USE_CPP11_MUTEX
+ notified = false;
#endif
}