diff options
author | bunnei <bunneidev@gmail.com> | 2020-07-26 06:35:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 06:35:09 +0200 |
commit | 45cf48bd0a497795158622a0a97db6fe77befe71 (patch) | |
tree | bff311998d8523b7e0a407f9f235b35c935e672f /src/common | |
parent | Merge pull request #4417 from lioncash/poll (diff) | |
parent | virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]] (diff) | |
download | yuzu-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/common')
-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; } |