Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/google/protobuf/arenastring.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ inline void ArenaStringPtr::Swap(ArenaStringPtr* other,
this_ptr->swap(*other_ptr);
}
#else
(void) default_value;
(void) arena;
std::swap(tagged_ptr_, other->tagged_ptr_);
#endif
}
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/generated_message_reflection.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ struct ReflectionSchema {

// We tag offset values to provide additional data about fields (such as
// "unused").
static uint32 OffsetValue(uint32 v, FieldDescriptor::Type type) {
static uint32 OffsetValue(uint32 v, FieldDescriptor::Type /* type */) {
return v & 0x7FFFFFFFu;
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/map_type_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ inline bool MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::IsInitialized(
} \
template <typename Type> \
inline void MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::Clear( \
TypeOnMemory* value, Arena* arena) { \
TypeOnMemory* value, Arena* /* arena */) { \
value->ClearToEmpty(); \
} \
template <typename Type> \
Expand Down