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/Db3x_mmap/src/dbintf.cpp | 3 --- plugins/Db3x_mmap/src/dbintf.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/Db3x_mmap/src') 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 -- cgit v1.2.3