From 8b82fb7a757f54659c88f294a217613a9fea59ca Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Tue, 10 Jul 2007 00:49:04 +0000 Subject: [PATCH] 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 --- lib/cpp/src/protocol/TBinaryProtocol.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cpp/src/protocol/TBinaryProtocol.cpp b/lib/cpp/src/protocol/TBinaryProtocol.cpp index 621e5dcc..69458513 100644 --- a/lib/cpp/src/protocol/TBinaryProtocol.cpp +++ b/lib/cpp/src/protocol/TBinaryProtocol.cpp @@ -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; -- 2.17.1