From 1bf9b25fb47d086a3f323c86278de7c235855fb0 Mon Sep 17 00:00:00 2001 From: Zeno- Date: Mon, 15 May 2017 20:10:29 +1000 Subject: Fix uninitalised variable in event.cpp (#5764) --- src/threading/event.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 } -- cgit v1.2.3