From dae0d079ad629d499034ff911e0b1a807c19fce0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Jan 2021 13:16:14 +0300 Subject: duplicate code and variables removed --- plugins/Dbx_mdbx/src/dbintf.cpp | 3 --- plugins/Dbx_mdbx/src/dbintf.h | 1 - 2 files changed, 4 deletions(-) (limited to 'plugins/Dbx_mdbx/src') diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp index dd0ed5cbaf..a9d57566c2 100644 --- a/plugins/Dbx_mdbx/src/dbintf.cpp +++ b/plugins/Dbx_mdbx/src/dbintf.cpp @@ -50,9 +50,6 @@ CDbxMDBX::~CDbxMDBX() for (auto &it : hService) DestroyServiceFunction(it); UnhookEvent(hHook); - - if (m_crypto) - m_crypto->destroy(); } ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/Dbx_mdbx/src/dbintf.h b/plugins/Dbx_mdbx/src/dbintf.h index 0705359342..c802b05d3b 100644 --- a/plugins/Dbx_mdbx/src/dbintf.h +++ b/plugins/Dbx_mdbx/src/dbintf.h @@ -247,7 +247,6 @@ public: __forceinline LPSTR GetMenuTitle() const { return m_bUsesPassword ? (char*)LPGEN("Change/remove password") : (char*)LPGEN("Set password"); } - __forceinline bool isEncrypted() const { return m_bEncrypted; } __forceinline bool usesPassword() const { return m_bUsesPassword; } public: -- cgit v1.2.3