diff options
Diffstat (limited to 'Source/UnitTests/Common/SPSCQueueTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/SPSCQueueTest.cpp | 2 |
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); } |
