diff options
| author | bunnei <bunneidev@gmail.com> | 2020-07-25 21:35:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-25 21:35:09 -0700 |
| commit | 54d0f82e6e9eac6fc2806b4e24c085087d36d785 (patch) | |
| tree | bff311998d8523b7e0a407f9f235b35c935e672f /src/common/virtual_buffer.cpp | |
| parent | aa100a7e22b389131f9014644f6ae830fc0893e1 (diff) | |
| parent | 3aad3029532485e1c22c7d387a4c1eb0f0a0ec1a (diff) | |
Merge pull request #4415 from lioncash/maybe
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
Diffstat (limited to 'src/common/virtual_buffer.cpp')
| -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 b426f47477..be5b67752b 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; } |
