mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix various warnings
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ static void DoRoundTripTest(const std::vector<T>& data)
|
||||
for (const T& e : data)
|
||||
{
|
||||
const std::string s = ValueToString(e);
|
||||
T out;
|
||||
T out = T();
|
||||
EXPECT_TRUE(TryParse(s, &out));
|
||||
EXPECT_EQ(e, out);
|
||||
}
|
||||
|
Reference in New Issue
Block a user