diff options
author | Zeno- <kde.psych@gmail.com> | 2017-05-15 20:10:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-15 20:10:29 +1000 |
commit | 1bf9b25fb47d086a3f323c86278de7c235855fb0 (patch) | |
tree | 30b9a5ef65936e77c66525ef7e4c84aded8f519b /src/threading | |
parent | 018217f6b2058db44b59a86e170614e1c6925f9f (diff) | |
download | minetest-1bf9b25fb47d086a3f323c86278de7c235855fb0.tar.gz minetest-1bf9b25fb47d086a3f323c86278de7c235855fb0.tar.bz2 minetest-1bf9b25fb47d086a3f323c86278de7c235855fb0.zip |
Fix uninitalised variable in event.cpp (#5764)
Diffstat (limited to 'src/threading')
-rw-r--r-- | src/threading/event.cpp | 2 |
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 } |