From: Zeno- Date: Mon, 15 May 2017 10:10:29 +0000 (+1000) Subject: Fix uninitalised variable in event.cpp (#5764) X-Git-Tag: 0.4.16~115 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1bf9b25fb47d086a3f323c86278de7c235855fb0;p=oweals%2Fminetest.git Fix uninitalised variable in event.cpp (#5764) --- 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 }