diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-04-15 13:27:00 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-04-15 13:40:14 +0200 |
| commit | da7bbd9dfdb8914977fc254b0c9b1bb3025726c8 (patch) | |
| tree | 3d7bc058a06e178b92431212d1948df4c6dda0c8 /src/wallet.cpp | |
| parent | fix warnings: '&&' within '||' [-Wlogical-op-parentheses] (diff) | |
| download | discoin-da7bbd9dfdb8914977fc254b0c9b1bb3025726c8.tar.xz discoin-da7bbd9dfdb8914977fc254b0c9b1bb3025726c8.zip | |
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 97ed6aa58..ff10e0cef 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -648,8 +648,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); + } } } } |