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++) {