diff --git a/src/google/protobuf/arena.h b/src/google/protobuf/arena.h index 59e02e0963..1ee2ef8d75 100644 --- a/src/google/protobuf/arena.h +++ b/src/google/protobuf/arena.h @@ -437,7 +437,7 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final { } template - static Arena* GetOwningArena(Rank1, const U* p) { + static Arena* GetOwningArena(Rank1, const U*) { return nullptr; } @@ -467,7 +467,7 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final { } template - static Arena* GetArenaForAllocation(Rank2, const U* p) { + static Arena* GetArenaForAllocation(Rank2, const U*) { return nullptr; }