From 08b1c718e437041bfe0e6a28611621896e4fe904 Mon Sep 17 00:00:00 2001 From: Khing Date: Wed, 7 Sep 2016 11:34:03 +1000 Subject: Fix #2032 unused parameter 'deterministic' Parameter deterministic is unused in InternalSerializeWithCachedSizesToArray(), which generates unused parameter warning in every message. --- src/google/protobuf/duration.pb.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/google/protobuf/duration.pb.cc') diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index 94ece18e..f916000e 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -274,6 +274,7 @@ void Duration::SerializeWithCachedSizes( ::google::protobuf::uint8* Duration::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration) // optional int64 seconds = 1; if (this->seconds() != 0) { -- cgit v1.2.3