aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-04-15 11:39:15 -0700
committerJeff Garzik <[email protected]>2012-04-15 11:39:15 -0700
commit5a701eb7ea16b87b56263996ee8e98ec89e2a3d8 (patch)
treefe8a60dc3eeb26e62cf4531a98b29ed99bee90e9 /src/wallet.cpp
parentMerge pull request #1084 from dooglus/validate_secret (diff)
parentfix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] (diff)
downloaddiscoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.tar.xz
discoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.zip
Merge pull request #1104 from laanwj/2012_04_clang
Enable and fix most compilation warnings
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 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);
+ }
}
}
}