From 8cab680cfdad79cf714829bd588fc9509c89e91b Mon Sep 17 00:00:00 2001 From: Yuriy Chernyshov Date: Wed, 9 Jun 2021 16:15:47 +0300 Subject: [PATCH] Fix -Wunused-parameter introduced in 3.17.3 --- src/google/protobuf/arena.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/arena.h b/src/google/protobuf/arena.h index 232cbd498f75..897a70ffb8ab 100644 --- a/src/google/protobuf/arena.h +++ b/src/google/protobuf/arena.h @@ -442,7 +442,7 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final { } static Arena* GetArenaForAllocationForNonMessageNonArenaConstructible( - const T* p, std::false_type /*has_get_arena*/) { + const T* /* p */, std::false_type /*has_get_arena*/) { return nullptr; }