aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_threading.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest/test_threading.cpp')
-rw-r--r--src/unittest/test_threading.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unittest/test_threading.cpp b/src/unittest/test_threading.cpp
index 224e123df..cdbf9674e 100644
--- a/src/unittest/test_threading.cpp
+++ b/src/unittest/test_threading.cpp
@@ -163,6 +163,7 @@ private:
void TestThreading::testAtomicSemaphoreThread()
{
Atomic<u32> val;
+ val = 0;
Semaphore trigger;
static const u8 num_threads = 4;