aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-03-28 08:40:16 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-04-26 21:20:02 +0200
commitb51aaf1c42d9936ddbe8ec48a0d9b675221ab7ba (patch)
tree97be0a701731d6c02e528c95b5023dbafc69d527 /src/wallet/db.cpp
parent95f5e44075028d86ac35839696a0df51792a4f04 (diff)
downloadbitcoin-b51aaf1c42d9936ddbe8ec48a0d9b675221ab7ba.tar.xz
Remove unused C++ code not covered by unit tests
Diffstat (limited to 'src/wallet/db.cpp')
-rw-r--r--src/wallet/db.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp
index c810476f96..25f6bdd9d9 100644
--- a/src/wallet/db.cpp
+++ b/src/wallet/db.cpp
@@ -466,15 +466,6 @@ void CDBEnv::CloseDb(const std::string& strFile)
}
}
-bool CDBEnv::RemoveDb(const std::string& strFile)
-{
- this->CloseDb(strFile);
-
- LOCK(cs_db);
- int rc = dbenv->dbremove(NULL, strFile.c_str(), NULL, DB_AUTO_COMMIT);
- return (rc == 0);
-}
-
bool CDB::Rewrite(CWalletDBWrapper& dbw, const char* pszSkip)
{
if (dbw.IsDummy()) {