aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/empty.pb.cc
diff options
context:
space:
mode:
authorKhing <khingblue@gmail.com>2016-09-07 11:34:03 +1000
committerKhing <khingblue@gmail.com>2016-09-08 10:56:21 +1000
commit08b1c718e437041bfe0e6a28611621896e4fe904 (patch)
tree80b9c7484cf988c5be7466e2c030a8d16a5e9f74 /src/google/protobuf/empty.pb.cc
parent30e55aecc19b5e759a4fcd4b7a2a75be66bf3a8d (diff)
downloadprotobuf-08b1c718e437041bfe0e6a28611621896e4fe904.tar.gz
protobuf-08b1c718e437041bfe0e6a28611621896e4fe904.tar.bz2
protobuf-08b1c718e437041bfe0e6a28611621896e4fe904.zip
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/empty.pb.cc')
-rw-r--r--src/google/protobuf/empty.pb.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/empty.pb.cc b/src/google/protobuf/empty.pb.cc
index 83775753..7ef97790 100644
--- a/src/google/protobuf/empty.pb.cc
+++ b/src/google/protobuf/empty.pb.cc
@@ -216,6 +216,7 @@ void Empty::SerializeWithCachedSizes(
::google::protobuf::uint8* Empty::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
+ (void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Empty)
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Empty)
return target;