mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-04 23:35:12 +01:00
Remove unused virtEnd variable in FlatMemoryManager::{Read, Write}
This commit is contained in:
parent
60fbfad4bc
commit
d2d181725f
@ -238,8 +238,6 @@ namespace skyline {
|
||||
|
||||
std::scoped_lock lock(this->blockMutex);
|
||||
|
||||
VaType virtEnd{virt + size};
|
||||
|
||||
auto successor{std::upper_bound(this->blocks.begin(), this->blocks.end(), virt, [] (auto virt, const auto &block) {
|
||||
return virt < block.virt;
|
||||
})};
|
||||
@ -279,8 +277,6 @@ namespace skyline {
|
||||
|
||||
std::scoped_lock lock(this->blockMutex);
|
||||
|
||||
VaType virtEnd{virt + size};
|
||||
|
||||
auto successor{std::upper_bound(this->blocks.begin(), this->blocks.end(), virt, [] (auto virt, const auto &block) {
|
||||
return virt < block.virt;
|
||||
})};
|
||||
|
Loading…
Reference in New Issue
Block a user