diff options
author | Khing <khingblue@gmail.com> | 2016-09-07 11:34:03 +1000 |
---|---|---|
committer | Khing <khingblue@gmail.com> | 2016-09-08 10:56:21 +1000 |
commit | 08b1c718e437041bfe0e6a28611621896e4fe904 (patch) | |
tree | 80b9c7484cf988c5be7466e2c030a8d16a5e9f74 /src/google/protobuf/any.pb.cc | |
parent | 30e55aecc19b5e759a4fcd4b7a2a75be66bf3a8d (diff) |
Fix #2032 unused parameter 'deterministic'
Parameter deterministic is unused in
InternalSerializeWithCachedSizesToArray(), which generates unused
parameter warning in every message.
Diffstat (limited to 'src/google/protobuf/any.pb.cc')
-rw-r--r-- | src/google/protobuf/any.pb.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index ccccc9c1..80e96528 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -278,6 +278,7 @@ void Any::SerializeWithCachedSizes( ::google::protobuf::uint8* Any::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any) // optional string type_url = 1; if (this->type_url().size() > 0) { |