Common: Remove unused variable in MemoryMap_Setup
This commit is contained in:
parent
859f86ac2d
commit
22800dc711
|
@ -233,7 +233,6 @@ bail:
|
|||
u8 *MemoryMap_Setup(const MemoryView *views, int num_views, u32 flags, MemArena *arena)
|
||||
{
|
||||
u32 total_mem = 0;
|
||||
int base_attempts = 0;
|
||||
|
||||
for (int i = 0; i < num_views; i++)
|
||||
{
|
||||
|
@ -266,8 +265,6 @@ u8 *MemoryMap_Setup(const MemoryView *views, int num_views, u32 flags, MemArena
|
|||
}
|
||||
#endif
|
||||
|
||||
if (base_attempts)
|
||||
PanicAlert("No possible memory base pointer found!");
|
||||
return base;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue