ams: use R_DISCARD everywhere
This commit is contained in:
1 parent
2d0fc65fd8
commit
44d9649c6d
65 files changed
+185
-185
No files matched your search
@@ -107,7 +107,7 @@ namespace ams::os::impl {
|
||||
public:
|
||||
DynamicUnitHeap(uintptr_t address, size_t size, size_t unit_size) : m_start(address), m_end(address + size) {
|
||||
/* Allocate the start of our buffer. */
|
||||
VammManagerImpl::AllocatePhysicalMemoryImpl(m_start, PhysicalMemoryUnitSize);
|
||||
R_DISCARD(VammManagerImpl::AllocatePhysicalMemoryImpl(m_start, PhysicalMemoryUnitSize));
|
||||
|
||||
/* Set our current limit. */
|
||||
m_limit = m_start + PhysicalMemoryUnitSize;
|
||||
|
||||
Reference in new issue
Block a user