mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-26 06:10:07 +00:00
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
This isn't used on Windows, but is used on non-Windows operating systems.
This commit is contained in:
parent
e96cf13ebc
commit
ca6ff01333
@ -38,7 +38,7 @@ void* AllocateMemoryPages(std::size_t size) {
|
|||||||
return base;
|
return base;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreeMemoryPages(void* base, std::size_t size) {
|
void FreeMemoryPages(void* base, [[maybe_unused]] std::size_t size) {
|
||||||
if (!base) {
|
if (!base) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user