Merge pull request #1490 from rohit-n/initialize

Common: Fix -Wmaybe-uninitialized warning.
This commit is contained in:
Lioncash 2014-11-06 20:37:32 -05:00
commit d79c794e8c
1 changed files with 1 additions and 1 deletions

View File

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