diff options
author | Austin Schuh <austin@peloton-tech.com> | 2014-10-31 16:27:55 -0700 |
---|---|---|
committer | Austin Schuh <austin@peloton-tech.com> | 2014-10-31 16:27:55 -0700 |
commit | 918e3ee8b46a0f79f97ed0197de08bd61fa5f053 (patch) | |
tree | 284852122a4dd718e53831d37857f5a851b8fd24 /src/google/protobuf/message.h | |
parent | 53d202f587f329f84ce11c3ce6f8037ccce73f67 (diff) |
Fixed Unused Parameter warning in headers.
Diffstat (limited to 'src/google/protobuf/message.h')
-rw-r--r-- | src/google/protobuf/message.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/google/protobuf/message.h b/src/google/protobuf/message.h index 95935605..67d45493 100644 --- a/src/google/protobuf/message.h +++ b/src/google/protobuf/message.h @@ -389,19 +389,19 @@ class LIBPROTOBUF_EXPORT Reflection { // is set, false otherwise. // TODO(jieluo) - make it pure virtual after updating all // the subclasses. - virtual bool HasOneof(const Message& message, - const OneofDescriptor* oneof_descriptor) const { + virtual bool HasOneof(const Message& /*message*/, + const OneofDescriptor* /*oneof_descriptor*/) const { return false; } - virtual void ClearOneof(Message* message, - const OneofDescriptor* oneof_descriptor) const {} + virtual void ClearOneof(Message* /*message*/, + const OneofDescriptor* /*oneof_descriptor*/) const {} // Returns the field descriptor if the oneof is set. NULL otherwise. // TODO(jieluo) - make it pure virtual. virtual const FieldDescriptor* GetOneofFieldDescriptor( - const Message& message, - const OneofDescriptor* oneof_descriptor) const { + const Message& /*message*/, + const OneofDescriptor* /*oneof_descriptor*/) const { return NULL; } |