From: Craig Robbins Date: Mon, 2 May 2016 05:01:17 +0000 (+1000) Subject: Fix Windows build X-Git-Tag: 0.4.14~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c92cff5d52efa0f811b605efd8d77ff23e44b226;p=oweals%2Fminetest.git Fix Windows build Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail --- 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 }