Skip to content

Commit

Permalink
Merge pull request bitcoin#3972
Browse files Browse the repository at this point in the history
fbf617a remove an assignment which is never used. (Yoichi Hirai)
  • Loading branch information
laanwj committed Apr 7, 2014
2 parents ef76f3d + fbf617a commit f4e1c34
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/serialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,7 @@ class CDataStream
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);
Expand Down

0 comments on commit f4e1c34

Please sign in to comment.