commit | 8b82fb7a757f54659c88f294a217613a9fea59ca | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | Tue Jul 10 00:49:04 2007 +0000 |
committer | Mark Slee <mcslee@apache.org> | Tue Jul 10 00:49:04 2007 +0000 |
tree | 34a4fbc50b6c17371390913244da63b11a767335 | |
parent | d093e7c32aa8f99b5696603fdd39ceeeebbdc150 [diff] |
Fix SET serialization borked-ness in Thrift Summary: Extra return floating in the code Reviewed By: boz Test Plan: Rebuild and deploy feed git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665160 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/protocol/TBinaryProtocol.cpp b/lib/cpp/src/protocol/TBinaryProtocol.cpp index 621e5dc..6945851 100644 --- a/lib/cpp/src/protocol/TBinaryProtocol.cpp +++ b/lib/cpp/src/protocol/TBinaryProtocol.cpp
@@ -130,7 +130,6 @@ uint32_t TBinaryProtocol::writeSetBegin(const TType elemType, const uint32_t size) { uint32_t wsize = 0; - return wsize += writeByte((int8_t)elemType); wsize += writeI32((int32_t)size); return wsize;