diff --git a/app/src/main/cpp/skyline/common/address_space.inc b/app/src/main/cpp/skyline/common/address_space.inc index 75673b8e..e545e08a 100644 --- a/app/src/main/cpp/skyline/common/address_space.inc +++ b/app/src/main/cpp/skyline/common/address_space.inc @@ -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; })};