summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-07-26 06:35:09 +0200
committerGitHub <noreply@github.com>2020-07-26 06:35:09 +0200
commit45cf48bd0a497795158622a0a97db6fe77befe71 (patch)
treebff311998d8523b7e0a407f9f235b35c935e672f /src
parentMerge pull request #4417 from lioncash/poll (diff)
parentvirtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]] (diff)
downloadyuzu-45cf48bd0a497795158622a0a97db6fe77befe71.tar
yuzu-45cf48bd0a497795158622a0a97db6fe77befe71.tar.gz
yuzu-45cf48bd0a497795158622a0a97db6fe77befe71.tar.bz2
yuzu-45cf48bd0a497795158622a0a97db6fe77befe71.tar.lz
yuzu-45cf48bd0a497795158622a0a97db6fe77befe71.tar.xz
yuzu-45cf48bd0a497795158622a0a97db6fe77befe71.tar.zst
yuzu-45cf48bd0a497795158622a0a97db6fe77befe71.zip
Diffstat (limited to 'src')
-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;
}