remove an assignment which is never used.

This commit is contained in:
Yoichi Hirai 2014-03-28 20:22:00 +09:00
parent acac57b8af
commit fbf617a5f1

View file

@ -1038,10 +1038,7 @@ public:
if (nReadPosNext >= vch.size()) if (nReadPosNext >= vch.size())
{ {
if (nReadPosNext > vch.size()) if (nReadPosNext > vch.size())
{
setstate(std::ios::failbit, "CDataStream::ignore() : end of data"); setstate(std::ios::failbit, "CDataStream::ignore() : end of data");
nSize = vch.size() - nReadPos;
}
nReadPos = 0; nReadPos = 0;
vch.clear(); vch.clear();
return (*this); return (*this);