From 15ebd4865af31167e9141bb6b1818b7e08267dac Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Tue, 29 Jan 2013 22:03:49 -0500 Subject: [PATCH] Fix two clang3.3 warnings --- src/main.cpp | 9 --------- src/main.h | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index fe35fbaf..e9e7b004 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) { diff --git a/src/main.h b/src/main.h index 9dbcac0b..202708f8 100644 --- a/src/main.h +++ b/src/main.h @@ -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;