Merge pull request #2329 from acozzette/unused-parameter
Fix unused parameter warnings in arena_free
This commit is contained in:
commit
0d7199edc8
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ inline void arena_free(void* object, size_t size) {
|
|||
#if defined(__GXX_DELETE_WITH_SIZE__) || defined(__cpp_sized_deallocation)
|
||||
::operator delete(object, size);
|
||||
#else
|
||||
(void)size;
|
||||
::operator delete(object);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue