mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Merge pull request #1490 from rohit-n/initialize
Common: Fix -Wmaybe-uninitialized warning.
This commit is contained in:
commit
d79c794e8c
@ -225,7 +225,7 @@ bail:
|
|||||||
static u32 MemoryMap_InitializeViews(MemoryView *views, int num_views, u32 flags)
|
static u32 MemoryMap_InitializeViews(MemoryView *views, int num_views, u32 flags)
|
||||||
{
|
{
|
||||||
u32 shm_position = 0;
|
u32 shm_position = 0;
|
||||||
u32 last_position;
|
u32 last_position = 0;
|
||||||
|
|
||||||
for (int i = 0; i < num_views; i++)
|
for (int i = 0; i < num_views; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user