diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 13:27:00 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-15 19:43:41 -0400 |
commit | 8460185dec74383b1e49500683cfc7aa9ceba554 (patch) | |
tree | 1b8bde4e173a0340c3c2940bdabbb48797c87fad /src/wallet.h | |
parent | 678a319888f88cf5bae2312afc3ba73533c0f901 (diff) | |
download | bitcoin-8460185dec74383b1e49500683cfc7aa9ceba554.tar.xz |
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
Diffstat (limited to 'src/wallet.h')
-rw-r--r-- | src/wallet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h index 4387e1a01f..bb9177b684 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -499,8 +499,10 @@ public: return false; if (mapPrev.empty()) + { BOOST_FOREACH(const CMerkleTx& tx, vtxPrev) mapPrev[tx.GetHash()] = &tx; + } BOOST_FOREACH(const CTxIn& txin, ptx->vin) { |