diff options
| author | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-11-03 21:38:42 -0600 |
|---|---|---|
| committer | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-11-03 21:38:42 -0600 |
| commit | f361ef1eb342da2cef78e1e2041cd125c68040be (patch) | |
| tree | 789d97d2f5435094a034b06fb7a28c3fc79f4224 /Source/Core/Common | |
| parent | 42d41a456eb6e51564d7146927c031b89be31689 (diff) | |
Common: Fix -Wmaybe-uninitialized warning.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/MemArena.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/MemArena.cpp b/Source/Core/Common/MemArena.cpp index 0a9e9e298e..a227c49501 100644 --- a/Source/Core/Common/MemArena.cpp +++ b/Source/Core/Common/MemArena.cpp @@ -225,7 +225,7 @@ bail: static u32 MemoryMap_InitializeViews(MemoryView *views, int num_views, u32 flags) { u32 shm_position = 0; - u32 last_position; + u32 last_position = 0; for (int i = 0; i < num_views; i++) { |
