Fix some -Wunused-parameter warnings in cpp_helpers.h

pull/8821/head
Yuriy Chernyshov 3 years ago committed by GitHub
parent b90ec9c242
commit f2effd8c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/google/protobuf/compiler/cpp/cpp_helpers.h

@ -356,7 +356,7 @@ inline bool IsEagerlyVerifiedLazy(const FieldDescriptor* field,
}
inline bool IsFieldUsed(const FieldDescriptor* /* field */,
const Options& options) {
const Options& /* options */) {
return true;
}
@ -884,7 +884,7 @@ inline OneOfRangeImpl OneOfRange(const Descriptor* desc) { return {desc}; }
PROTOC_EXPORT std::string StripProto(const std::string& filename);
inline bool EnableMessageOwnedArena(const Descriptor* desc) { return false; }
inline bool EnableMessageOwnedArena(const Descriptor* /* desc */ ) { return false; }
} // namespace cpp
} // namespace compiler

Loading…
Cancel
Save