fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

This commit is contained in:
Wladimir J. van der Laan
2012-04-15 13:27:00 +02:00
parent 6642ffb761
commit da7bbd9dfd
6 changed files with 18 additions and 0 deletions

View File

@@ -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);
}
}
}
}