aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-15 13:27:00 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2012-04-15 19:43:41 -0400
commit8460185dec74383b1e49500683cfc7aa9ceba554 (patch)
tree1b8bde4e173a0340c3c2940bdabbb48797c87fad /src/wallet.cpp
parent678a319888f88cf5bae2312afc3ba73533c0f901 (diff)
downloadbitcoin-8460185dec74383b1e49500683cfc7aa9ceba554.tar.xz
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 9f7422d1fb..3f51313e9b 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -545,8 +545,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);
+ }
}
}
}