diff options
author | Lioncash <[email protected]> | 2020-07-25 03:04:24 -0400 |
---|---|---|
committer | Lioncash <[email protected]> | 2020-07-25 03:04:27 -0400 |
commit | ca6ff01333acd569b53501b62115780504445600 (patch) | |
tree | 9fb0f6abadfce425af7e4f74e28f7747ff9c3de5 /src | |
parent | e96cf13ebcf9d4aef90583e59eafecc19bb39847 (diff) | |
download | yuzu-android-ca6ff01333acd569b53501b62115780504445600.tar.gz yuzu-android-ca6ff01333acd569b53501b62115780504445600.zip |
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
This isn't used on Windows, but is used on non-Windows operating
systems.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/virtual_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/virtual_buffer.cpp b/src/common/virtual_buffer.cpp index b426f4747..be5b67752 100644 --- a/src/common/virtual_buffer.cpp +++ b/src/common/virtual_buffer.cpp @@ -38,7 +38,7 @@ void* AllocateMemoryPages(std::size_t size) { return base; } -void FreeMemoryPages(void* base, std::size_t size) { +void FreeMemoryPages(void* base, [[maybe_unused]] std::size_t size) { if (!base) { return; } |