From 5f43685f4eb386690f36ef7fb0468e6445e19f0e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 30 Aug 2014 19:06:07 -0400 Subject: [PATCH] Core: Fix potential uninitialized variable warnings in Wii_IPC_HLE_Device_es.cpp --- Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp index 610f0dc6de..f138be80f5 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp @@ -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++)