diff options
Diffstat (limited to 'src/support/threads.cpp')
-rw-r--r-- | src/support/threads.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/support/threads.cpp b/src/support/threads.cpp index ab9de4175..bd026b69c 100644 --- a/src/support/threads.cpp +++ b/src/support/threads.cpp @@ -216,8 +216,7 @@ void ThreadPool::notifyThreadIsReady() { void ThreadPool::resetThreadsAreReady() { DEBUG_POOL("reset threads are ready\n";) - auto old = ready.exchange(0); - WASM_UNUSED(old); + [[maybe_unused]] auto old = ready.exchange(0); assert(old == threads.size()); } |