diff options
| author | Gavin Andresen <[email protected]> | 2013-01-29 22:03:49 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-01-29 22:03:49 -0500 |
| commit | 15ebd4865af31167e9141bb6b1818b7e08267dac (patch) | |
| tree | 57a69e9ed6cccb86d87bbc1a4477b422851107a5 /src/main.cpp | |
| parent | Merge pull request #2231 from sipa/cleanups (diff) | |
| download | discoin-15ebd4865af31167e9141bb6b1818b7e08267dac.tar.xz discoin-15ebd4865af31167e9141bb6b1818b7e08267dac.zip | |
Fix two clang3.3 warnings
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp index fe35fbaf2..e9e7b004c 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) { |