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:45 -0400 |
commit | 1bdfa94a0164f73b453633861b91c67bb6bf10d8 (patch) | |
tree | 8d71cdbb9ce91ea76c82a5c9ffa5ad73391f111a /src/wallet.cpp | |
parent | 9c236a945c7dc5f401b0ae51b69e2b658c62654c (diff) | |
download | bitcoin-1bdfa94a0164f73b453633861b91c67bb6bf10d8.tar.xz |
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 27ed7228df..49e1392c27 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -644,8 +644,10 @@ void CWalletTx::AddSupportingTransactions(CTxDB& txdb) vtxPrev.push_back(tx); if (nDepth < COPY_DEPTH) + { BOOST_FOREACH(const CTxIn& txin, tx.vin) vWorkQueue.push_back(txin.prevout.hash); + } } } } |