aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/descriptor.h
diff options
context:
space:
mode:
authorAustin Schuh <austin@peloton-tech.com>2014-10-31 16:27:55 -0700
committerAustin Schuh <austin@peloton-tech.com>2014-10-31 16:27:55 -0700
commit918e3ee8b46a0f79f97ed0197de08bd61fa5f053 (patch)
tree284852122a4dd718e53831d37857f5a851b8fd24 /src/google/protobuf/descriptor.h
parent53d202f587f329f84ce11c3ce6f8037ccce73f67 (diff)
downloadprotobuf-918e3ee8b46a0f79f97ed0197de08bd61fa5f053.tar.gz
protobuf-918e3ee8b46a0f79f97ed0197de08bd61fa5f053.tar.bz2
protobuf-918e3ee8b46a0f79f97ed0197de08bd61fa5f053.zip
Fixed Unused Parameter warning in headers.
Diffstat (limited to 'src/google/protobuf/descriptor.h')
-rw-r--r--src/google/protobuf/descriptor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/google/protobuf/descriptor.h b/src/google/protobuf/descriptor.h
index 67afc774..68013f8e 100644
--- a/src/google/protobuf/descriptor.h
+++ b/src/google/protobuf/descriptor.h
@@ -1280,11 +1280,11 @@ class LIBPROTOBUF_EXPORT DescriptorPool {
// Reports a warning in the FileDescriptorProto. Use this function if the
// problem occured should NOT interrupt building the FileDescriptorProto.
virtual void AddWarning(
- const string& filename, // File name in which the error occurred.
- const string& element_name, // Full name of the erroneous element.
- const Message* descriptor, // Descriptor of the erroneous element.
- ErrorLocation location, // One of the location constants, above.
- const string& message // Human-readable error message.
+ const string& /*filename*/, // File name in which the error occurred.
+ const string& /*element_name*/, // Full name of the erroneous element.
+ const Message* /*descriptor*/, // Descriptor of the erroneous element.
+ ErrorLocation /*location*/, // One of the location constants, above.
+ const string& /*message*/ // Human-readable error message.
) {}
private: