Fix SET serialization borked-ness in Thrift
authorMark Slee <mcslee@apache.org>
Tue, 10 Jul 2007 00:49:04 +0000 (00:49 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 10 Jul 2007 00:49:04 +0000 (00:49 +0000)
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

lib/cpp/src/protocol/TBinaryProtocol.cpp

index 621e5dc..6945851 100644 (file)
@@ -130,7 +130,6 @@ uint32_t TBinaryProtocol::writeListEnd() {
 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;