Commit de57caa1 authored by Ben Bader's avatar Ben Bader Committed by Adam Cozzette

Fix unused-parameter clang warnings in arena.h and map_type_handler.h

parent 56e7bdf2
......@@ -688,6 +688,7 @@ class PROTOBUF_EXPORT alignas(8) Arena final {
!has_get_arena<T>::value,
int>::type = 0>
PROTOBUF_ALWAYS_INLINE static Arena* GetArenaInternal(const T* value) {
(void) value;
return nullptr;
}
......
......@@ -524,6 +524,7 @@ inline const char* ReadSFIXED32(const char* ptr, int32* value) {
template <typename Type> \
const char* MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::Read( \
const char* begin, ParseContext* ctx, MapEntryAccessorType* value) { \
(void) ctx; \
return Read##FieldType(begin, value); \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment