Fix compiler warnings

This commit is contained in:
Maschell 2020-06-06 22:36:56 +02:00
parent 093343ddf9
commit 4e0010da0b
2 changed files with 0 additions and 2 deletions

View File

@ -33,7 +33,6 @@ WUMS_APPLICATION_STARTS() {
break; break;
} }
void *address = (void *) (mem_mapping[i].effective_start_address); 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; MEMExpHeapBlock *curUsedBlock = ((MEMExpHeap *) address)->usedList.head;
while (curUsedBlock != 0) { while (curUsedBlock != 0) {

View File

@ -777,7 +777,6 @@ uint32_t MemoryMapping_PhysicalToEffective(uint32_t phyiscalAddress) {
uint32_t result = 0; uint32_t result = 0;
const memory_values_t *curMemValues = NULL; const memory_values_t *curMemValues = NULL;
int32_t curOffset = 0;
//iterate through all own mapped memory regions //iterate through all own mapped memory regions
for (int32_t i = 0; true; i++) { for (int32_t i = 0; true; i++) {
if (mem_mapping[i].physical_addresses == NULL) { if (mem_mapping[i].physical_addresses == NULL) {