summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/SPSCQueueTest.cpp
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2025-06-09 15:30:26 +0200
committerJoshua Vandaƫle <joshua@vandaele.software>2025-07-12 12:47:30 +0200
commit06882bd2dca4ea92d0608077c45cff6cb7e41583 (patch)
treec20781479b42392bea8ba2169d0e123e9a98d0c3 /Source/UnitTests/Common/SPSCQueueTest.cpp
parentf76ab863266d012281e52bceda355bc72f36edb8 (diff)
Fix various warnings
Diffstat (limited to 'Source/UnitTests/Common/SPSCQueueTest.cpp')
-rw-r--r--Source/UnitTests/Common/SPSCQueueTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/SPSCQueueTest.cpp b/Source/UnitTests/Common/SPSCQueueTest.cpp
index 13848bd95f..ddc57c8d1a 100644
--- a/Source/UnitTests/Common/SPSCQueueTest.cpp
+++ b/Source/UnitTests/Common/SPSCQueueTest.cpp
@@ -32,7 +32,7 @@ TEST(SPSCQueue, Simple)
EXPECT_EQ(1000u, q.Size());
for (u32 i = 0; i < 1000; ++i)
{
- u32 v2;
+ u32 v2 = 0;
q.Pop(v2);
EXPECT_EQ(i, v2);
}