Merge pull request #8821 from georgthegreat/patch-1

Fix some -Wunused-parameter warnings in cpp_helpers.h
pull/8843/head
deannagarcia 3 years ago committed by GitHub
commit 53365065d9
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