Browse Source

Fix two clang3.3 warnings

0.8
Gavin Andresen 12 years ago
parent
commit
15ebd4865a
  1. 9
      src/main.cpp
  2. 2
      src/main.h

9
src/main.cpp

@ -93,15 +93,6 @@ void UnregisterWallet(CWallet* pwalletIn) @@ -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)
bool static GetTransaction(const uint256& hashTx, CWalletTx& wtx)
{

2
src/main.h

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

Loading…
Cancel
Save