Remove unused C++ code not covered by unit tests

This commit is contained in:
practicalswift
2017-03-28 08:40:16 +02:00
parent 95f5e44075
commit b51aaf1c42
9 changed files with 3 additions and 42 deletions

View File

@@ -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()) {