diff --git a/src/google/protobuf/arena.h b/src/google/protobuf/arena.h index f05277ed..87066507 100644 --- a/src/google/protobuf/arena.h +++ b/src/google/protobuf/arena.h @@ -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 }