mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2024-11-25 11:16:53 +01:00
Fix compiler warnings
This commit is contained in:
parent
093343ddf9
commit
4e0010da0b
@ -33,7 +33,6 @@ WUMS_APPLICATION_STARTS() {
|
||||
break;
|
||||
}
|
||||
void *address = (void *) (mem_mapping[i].effective_start_address);
|
||||
uint32_t size = mem_mapping[i].effective_end_address - mem_mapping[i].effective_start_address;
|
||||
|
||||
MEMExpHeapBlock *curUsedBlock = ((MEMExpHeap *) address)->usedList.head;
|
||||
while (curUsedBlock != 0) {
|
||||
|
@ -777,7 +777,6 @@ uint32_t MemoryMapping_PhysicalToEffective(uint32_t phyiscalAddress) {
|
||||
|
||||
uint32_t result = 0;
|
||||
const memory_values_t *curMemValues = NULL;
|
||||
int32_t curOffset = 0;
|
||||
//iterate through all own mapped memory regions
|
||||
for (int32_t i = 0; true; i++) {
|
||||
if (mem_mapping[i].physical_addresses == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user