aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2014-03-28 20:22:00 +0900
committerYoichi Hirai <i@yoichihirai.com>2014-03-28 20:22:00 +0900
commitfbf617a5f1a51bce59e023dbada9a4dd050e6c35 (patch)
treef9cb07755f3b7a88f16430fbf86e46ce19387488 /src/serialize.h
parentacac57b8afc04a6578fc63c998521727369f694d (diff)
remove an assignment which is never used.
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 4a9ff579f4..1341746592 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -1038,10 +1038,7 @@ public:
if (nReadPosNext >= vch.size())
{
if (nReadPosNext > vch.size())
- {
setstate(std::ios::failbit, "CDataStream::ignore() : end of data");
- nSize = vch.size() - nReadPos;
- }
nReadPos = 0;
vch.clear();
return (*this);