Browse Source

Merge pull request #3972

fbf617a remove an assignment which is never used. (Yoichi Hirai)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
f4e1c347cf
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/serialize.h

3
src/serialize.h

@ -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);

Loading…
Cancel
Save