Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d093e7c
)
Fix SET serialization borked-ness in Thrift
author
Mark Slee
<mcslee@apache.org>
Tue, 10 Jul 2007 00:49:04 +0000
(
00:49
+0000)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/lib/cpp/src/protocol/TBinaryProtocol.cpp
b/lib/cpp/src/protocol/TBinaryProtocol.cpp
index
621e5dc
..
6945851
100644
(file)
--- 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;