diff --git a/source/main.cpp b/source/main.cpp index 99df72a..7264349 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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) { diff --git a/source/memory_mapping.cpp b/source/memory_mapping.cpp index bb219b0..1f8e2d8 100644 --- a/source/memory_mapping.cpp +++ b/source/memory_mapping.cpp @@ -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) {