Core: Fix potential uninitialized variable warnings in Wii_IPC_HLE_Device_es.cpp

This commit is contained in:
Lioncash 2014-08-30 19:06:07 -04:00
parent fe518af22d
commit 5f43685f4e
1 changed files with 4 additions and 3 deletions

View File

@ -136,9 +136,10 @@ void CWII_IPC_HLE_Device_es::DoState(PointerWrap& p)
u32 Count = (u32)(m_ContentAccessMap.size());
p.Do(Count);
u32 CFD, Position;
u64 TitleID;
u16 Index;
u32 CFD = 0;
u32 Position = 0;
u64 TitleID = 0;
u16 Index = 0;
if (p.GetMode() == PointerWrap::MODE_READ)
{
for (u32 i = 0; i < Count; i++)