diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 13:27:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 13:40:14 +0200 |
commit | da7bbd9dfdb8914977fc254b0c9b1bb3025726c8 (patch) | |
tree | 3d7bc058a06e178b92431212d1948df4c6dda0c8 /src/wallet.h | |
parent | 6642ffb761cc04c990510d8a5e89714e003abb77 (diff) |
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 f864370acf..869e888fcd 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -553,8 +553,10 @@ public: return false; if (mapPrev.empty()) + { BOOST_FOREACH(const CMerkleTx& tx, vtxPrev) mapPrev[tx.GetHash()] = &tx; + } BOOST_FOREACH(const CTxIn& txin, ptx->vin) { |