Fix two clang3.3 warnings

This commit is contained in:
Gavin Andresen 2013-01-29 22:03:49 -05:00
parent 2835080e16
commit 15ebd4865a
2 changed files with 1 additions and 10 deletions

View File

@ -93,15 +93,6 @@ void UnregisterWallet(CWallet* pwalletIn)
} }
} }
// check whether the passed transaction is from us
bool static IsFromMe(CTransaction& tx)
{
BOOST_FOREACH(CWallet* pwallet, setpwalletRegistered)
if (pwallet->IsFromMe(tx))
return true;
return false;
}
// get the wallet transaction with the given hash (if it exists) // get the wallet transaction with the given hash (if it exists)
bool static GetTransaction(const uint256& hashTx, CWalletTx& wtx) bool static GetTransaction(const uint256& hashTx, CWalletTx& wtx)
{ {

View File

@ -106,7 +106,7 @@ static const uint64 nMinDiskSpace = 52428800;
class CReserveKey; class CReserveKey;
class CCoinsDB; class CCoinsDB;
class CBlockTreeDB; class CBlockTreeDB;
class CDiskBlockPos; struct CDiskBlockPos;
class CCoins; class CCoins;
class CTxUndo; class CTxUndo;
class CCoinsView; class CCoinsView;