diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-18 12:05:40 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-18 13:26:51 +0000 |
commit | 7207dae5c7f205c551036362c8b9872afbd94d58 (patch) | |
tree | c6ad7884b8139297e514f1e90aa50fceb130ad53 | |
parent | 9976287219cd05ec02770c22b68344b431d2e3b1 (diff) | |
download | bcm5719-llvm-7207dae5c7f205c551036362c8b9872afbd94d58.tar.gz bcm5719-llvm-7207dae5c7f205c551036362c8b9872afbd94d58.zip |
Fix uninitialized variable warning. NFC.
-rw-r--r-- | llvm/unittests/Support/ThreadPool.cpp | 3 |
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() \ |