summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-08 13:16:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-08 13:16:14 +0300
commitdae0d079ad629d499034ff911e0b1a807c19fce0 (patch)
treec5bef52093ec010d2b223513da02da7ce8ed6bec /plugins/Db3x_mmap/src
parente06357e08f44b4537514ba1d97562e5e005ac8b4 (diff)
duplicate code and variables removed
Diffstat (limited to 'plugins/Db3x_mmap/src')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.cpp3
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp
index 72a15450b6..cee46868a9 100644
--- a/plugins/Db3x_mmap/src/dbintf.cpp
+++ b/plugins/Db3x_mmap/src/dbintf.cpp
@@ -74,9 +74,6 @@ CDb3Mmap::~CDb3Mmap()
DestroyServiceFunction(hService);
UnhookEvent(hHook);
- if (m_crypto)
- m_crypto->destroy();
-
if (m_hMap)
CloseHandle(m_hMap);
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index e839d56e4f..70d60e80df 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -264,7 +264,7 @@ protected:
HANDLE m_hDbFile;
DBHeader m_dbHeader;
DWORD m_ChunkSize;
- bool m_safetyMode, m_bReadOnly, m_bShared, m_bEncrypted, m_bUsesPassword;
+ bool m_safetyMode, m_bReadOnly, m_bShared, m_bUsesPassword;
////////////////////////////////////////////////////////////////////////////
// database stuff