diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 17:35:00 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 17:35:00 +0000 |
commit | d5f98458e06b9aee5522dc9475b5676e6fd14317 (patch) | |
tree | 5c9411bbda26b3d17f23b904e00463f0c27cf963 /plugins/Db3x_mmap/src/dbintf.cpp | |
parent | 83a7134937a15c228b9c938821894cf79f04ddee (diff) |
Db3x_mmap: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11418 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbintf.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp index 96fee79626..ef2106f5cb 100644 --- a/plugins/Db3x_mmap/src/dbintf.cpp +++ b/plugins/Db3x_mmap/src/dbintf.cpp @@ -45,14 +45,14 @@ static int stringCompare2(const char *p1, const char *p2) }
CDb3Mmap::CDb3Mmap(const TCHAR *tszFileName, int iMode) :
- m_hDbFile(INVALID_HANDLE_VALUE),
- m_safetyMode(true),
- m_bReadOnly((iMode & DBMODE_READONLY) != 0),
- m_bShared((iMode & DBMODE_SHARED) != 0),
- m_dwMaxContactId(1),
- m_lMods(50, ModCompare),
- m_lOfs(50, OfsCompare),
- m_lResidentSettings(50, stringCompare2)
+m_hDbFile(INVALID_HANDLE_VALUE),
+m_safetyMode(true),
+m_bReadOnly((iMode & DBMODE_READONLY) != 0),
+m_bShared((iMode & DBMODE_SHARED) != 0),
+m_dwMaxContactId(1),
+m_lMods(50, ModCompare),
+m_lOfs(50, OfsCompare),
+m_lResidentSettings(50, stringCompare2)
{
m_tszProfileName = mir_tstrdup(tszFileName);
InitDbInstance(this);
@@ -194,7 +194,7 @@ int CDb3Mmap::PrepareCheck(int *error) STDMETHODIMP_(void) CDb3Mmap::SetCacheSafetyMode(BOOL bIsSet)
{
{ mir_cslock lck(m_csDbAccess);
- m_safetyMode = bIsSet != 0;
+ m_safetyMode = bIsSet != 0;
}
DBFlush(1);
}
@@ -204,7 +204,7 @@ STDMETHODIMP_(void) CDb3Mmap::SetCacheSafetyMode(BOOL bIsSet) typedef int (CDb3Mmap::*CheckWorker)(int);
-static CheckWorker Workers[6] =
+static CheckWorker Workers[6] =
{
&CDb3Mmap::WorkInitialChecks,
&CDb3Mmap::WorkModuleChain,
|