diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-08-31 06:46:45 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-08-31 06:46:45 +0200 |
| commit | ee880ea73cd9b2f534a97f340fc4d310a9638686 (patch) | |
| tree | 1c773ace3ad8c2deb4e0583d304a34a7df0bcc78 /Source/Core | |
| parent | 70b887659ec3971e6c0116d91af17165f451e3fd (diff) | |
| parent | 5f43685f4eb386690f36ef7fb0468e6445e19f0e (diff) | |
Merge pull request #914 from lioncash/potential-uninitialized
Core: Fix potential uninitialized variable warnings in Wii_IPC_HLE_Devices_es.cpp
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp | 7 |
1 files 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++) |
