aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-11-10 08:00:05 +0100
committerPavel Janík <Pavel@Janik.cz>2016-12-05 11:41:46 +0100
commit9de90bb749926a51aac15d5998bff3e12425675e (patch)
treec8f36dfda28f69e8f90ea8bffb668a927d031e8c /src/chain.h
parent43e8150ef69093c906c4406ce58c1fd21fee898e (diff)
downloadbitcoin-9de90bb749926a51aac15d5998bff3e12425675e.tar.xz
Do not shadow variables (gcc set)
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chain.h b/src/chain.h
index 0aac5de5c2..b0471be743 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -358,9 +358,9 @@ public:
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action) {
- int nVersion = s.GetVersion();
+ int _nVersion = s.GetVersion();
if (!(s.GetType() & SER_GETHASH))
- READWRITE(VARINT(nVersion));
+ READWRITE(VARINT(_nVersion));
READWRITE(VARINT(nHeight));
READWRITE(VARINT(nStatus));