mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 08:37:52 +00:00
kernel: Remove unused variables
Resolves a few compiler warnings.
This commit is contained in:
parent
ccd9337ec7
commit
3ea31a9922
2 changed files with 11 additions and 18 deletions
|
@ -604,7 +604,6 @@ ResultCode PageTable::MapPages(VAddr addr, const PageLinkedList& page_linked_lis
|
|||
if (const auto result{
|
||||
Operate(cur_addr, node.GetNumPages(), perm, OperationType::Map, node.GetAddress())};
|
||||
result.IsError()) {
|
||||
const MemoryInfo info{block_manager->FindBlock(cur_addr).GetMemoryInfo()};
|
||||
const std::size_t num_pages{(addr - cur_addr) / PageSize};
|
||||
|
||||
ASSERT(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue