summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/Support/ThreadPool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/Support/ThreadPool.cpp b/llvm/unittests/Support/ThreadPool.cpp
index 4755b52a21d..a16adbbb78a 100644
--- a/llvm/unittests/Support/ThreadPool.cpp
+++ b/llvm/unittests/Support/ThreadPool.cpp
@@ -71,8 +71,7 @@ protected:
std::condition_variable WaitMainThread;
std::mutex WaitMainThreadMutex;
- bool MainThreadReady;
-
+ bool MainThreadReady = false;
};
#define CHECK_UNSUPPORTED() \
OpenPOWER on IntegriCloud