git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7965b6f
)
Clang scan-build warning: Value stored to nSize is never read.
205/head
author
svost
<ya.nowa@yandex.ru>
Sun, 12 Apr 2015 18:37:11 +0000 (21:37 +0300)
committer
svost
<ya.nowa@yandex.ru>
Sun, 12 Apr 2015 18:37:11 +0000 (21:37 +0300)
src/serialize.h
patch
|
blob
|
history
diff --git
a/src/serialize.h
b/src/serialize.h
index
a1f8a0e
..
52328c3
100644
(file)
--- a/
src/serialize.h
+++ b/
src/serialize.h
@@
-1106,10
+1106,7
@@
public:
if (nReadPosNext >= vch.size())
{
if (nReadPosNext > vch.size())
- {
setstate(std::ios::failbit, "CDataStream::ignore() : end of data");
- nSize = (int)(vch.size() - nReadPos);
- }
nReadPos = 0;
vch.clear();
return (*this);