Fix uninitalised variable in event.cpp (#5764)
authorZeno- <kde.psych@gmail.com>
Mon, 15 May 2017 10:10:29 +0000 (20:10 +1000)
committerGitHub <noreply@github.com>
Mon, 15 May 2017 10:10:29 +0000 (20:10 +1000)
src/threading/event.cpp

index 0d5928f105ae89ed24ce5bd830af8bc574fe81d2..a22c6628b965086d6b9c2df26e5e05e7f91452d5 100644 (file)
@@ -35,6 +35,8 @@ Event::Event()
        pthread_mutex_init(&mutex, NULL);
        notified = false;
 #      endif
+#elif USE_CPP11_MUTEX
+       notified = false;
 #endif
 }