Merge pull request #4415 from lioncash/maybe

virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
This commit is contained in:
bunnei 2020-07-25 21:35:09 -07:00 committed by GitHub
commit 45cf48bd0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ void* AllocateMemoryPages(std::size_t size) {
return base; return base;
} }
void FreeMemoryPages(void* base, std::size_t size) { void FreeMemoryPages(void* base, [[maybe_unused]] std::size_t size) {
if (!base) { if (!base) {
return; return;
} }