mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
remove an assignment which is never used.
This commit is contained in:
parent
acac57b8af
commit
fbf617a5f1
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue