mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[Support] In tests, fix warning: variable ‘Threads’ set but not used
This commit is contained in:
parent
66f957c5c7
commit
2a2b6dfe5d
@ -179,10 +179,8 @@ void ThreadPoolTest::TestAllThreads(ThreadPoolStrategy S) {
|
||||
|
||||
llvm::DenseSet<llvm::BitVector> ThreadsUsed;
|
||||
std::mutex Lock;
|
||||
unsigned Threads = 0;
|
||||
{
|
||||
ThreadPool Pool(S);
|
||||
Threads = Pool.getThreadCount();
|
||||
for (size_t I = 0; I < 10000; ++I) {
|
||||
Pool.async([&] {
|
||||
waitForMainThread();
|
||||
|
Loading…
Reference in New Issue
Block a user