Commit 912d8195 authored by Christian Maurer's avatar Christian Maurer Committed by Adam Cozzette

c++ remove unused parameters

parent 6f0f382d
...@@ -760,7 +760,7 @@ class PROTOBUF_EXPORT ExtensionSet { ...@@ -760,7 +760,7 @@ class PROTOBUF_EXPORT ExtensionSet {
bool FindExtension(int wire_type, uint32 field, bool FindExtension(int wire_type, uint32 field,
const MessageLite* containing_type, const MessageLite* containing_type,
const internal::ParseContext* ctx, const internal::ParseContext* /*ctx*/,
ExtensionInfo* extension, bool* was_packed_on_wire) { ExtensionInfo* extension, bool* was_packed_on_wire) {
GeneratedExtensionFinder finder(containing_type); GeneratedExtensionFinder finder(containing_type);
return FindExtensionInfoFromFieldNumber(wire_type, field, &finder, return FindExtensionInfoFromFieldNumber(wire_type, field, &finder,
......
...@@ -434,8 +434,8 @@ class PROTOBUF_EXPORT MessageLite { ...@@ -434,8 +434,8 @@ class PROTOBUF_EXPORT MessageLite {
// method.) // method.)
virtual int GetCachedSize() const = 0; virtual int GetCachedSize() const = 0;
virtual const char* _InternalParse(const char* ptr, virtual const char* _InternalParse(const char* /*ptr*/,
internal::ParseContext* ctx) { internal::ParseContext* /*ctx*/) {
return nullptr; return nullptr;
} }
......
...@@ -491,7 +491,7 @@ PROTOBUF_EXPORT ...@@ -491,7 +491,7 @@ PROTOBUF_EXPORT
std::pair<const char*, uint32> ReadTagFallback(const char* p, uint32 res); std::pair<const char*, uint32> ReadTagFallback(const char* p, uint32 res);
// Same as ParseVarint but only accept 5 bytes at most. // Same as ParseVarint but only accept 5 bytes at most.
inline const char* ReadTag(const char* p, uint32* out, uint32 max_tag = 0) { inline const char* ReadTag(const char* p, uint32* out, uint32 /*max_tag*/ = 0) {
uint32 res = static_cast<uint8>(p[0]); uint32 res = static_cast<uint8>(p[0]);
if (res < 128) { if (res < 128) {
*out = res; *out = res;
......
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