mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Remove unused C++ code not covered by unit tests
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user