aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/virtual_buffer.cpp
diff options
context:
space:
mode:
authorLioncash <[email protected]>2020-07-25 03:04:24 -0400
committerLioncash <[email protected]>2020-07-25 03:04:27 -0400
commitca6ff01333acd569b53501b62115780504445600 (patch)
tree9fb0f6abadfce425af7e4f74e28f7747ff9c3de5 /src/common/virtual_buffer.cpp
parente96cf13ebcf9d4aef90583e59eafecc19bb39847 (diff)
downloadyuzu-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/common/virtual_buffer.cpp')
-rw-r--r--src/common/virtual_buffer.cpp2
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;
}