summaryrefslogtreecommitdiffstats
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
committerJeff Davidson <jpd@google.com>2015-05-20 10:38:52 -0700
commit2f4d8a1b744e2e62dcd68b7cb7159000e5751975 (patch)
tree93405474cde2e2c86ad04b56a2715499c721142e /src/google/protobuf/descriptor.h
parent4d8b123b8985b3f87a640be2d9a1b4b730b5fdca (diff)
downloadexternal_protobuf-691ecab3aad025e325b1efc84e34835cead4e3c6.zip
external_protobuf-691ecab3aad025e325b1efc84e34835cead4e3c6.tar.gz
external_protobuf-691ecab3aad025e325b1efc84e34835cead4e3c6.tar.bz2
Cherry-pick of: https://github.com/google/protobuf/commit/918e3ee8b46a0f79f97ed0197de08bd61fa5f053 Bug: 21303860 Signed-off-by: Jeff Davidson <jpd@google.com> Change-Id: I2690e676cde4c512412f3ccc15d9f50e59c88213
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 361943d..fef4780 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: