From fbf617a5f1a51bce59e023dbada9a4dd050e6c35 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Fri, 28 Mar 2014 20:22:00 +0900 Subject: [PATCH] remove an assignment which is never used. --- src/serialize.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/serialize.h b/src/serialize.h index 4a9ff579f..134174659 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);