summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbtool/modulechain.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-14 17:35:00 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-14 17:35:00 +0000
commitd5f98458e06b9aee5522dc9475b5676e6fd14317 (patch)
tree5c9411bbda26b3d17f23b904e00463f0c27cf963 /plugins/Db3x_mmap/src/dbtool/modulechain.cpp
parent83a7134937a15c228b9c938821894cf79f04ddee (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/dbtool/modulechain.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbtool/modulechain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/modulechain.cpp b/plugins/Db3x_mmap/src/dbtool/modulechain.cpp
index 135935e4ed..522532d8f4 100644
--- a/plugins/Db3x_mmap/src/dbtool/modulechain.cpp
+++ b/plugins/Db3x_mmap/src/dbtool/modulechain.cpp
@@ -20,13 +20,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "..\commonheaders.h"
struct ModChainEntry {
- DWORD ofsOld,ofsNew;
+ DWORD ofsOld, ofsNew;
int size;
char name[257];
} static *modChain = NULL;
static int modChainCount;
static DWORD ofsCurrent;
-static int phase,iCurrentModName;
+static int phase, iCurrentModName;
static DWORD ofsLast;
static int last_mod = 0;
@@ -87,7 +87,7 @@ int CDb3Mmap::WorkModuleChain(int firstTime)
return ERROR_NO_MORE_ITEMS;
if ((modChain[iCurrentModName].ofsNew = WriteSegment(WSOFS_END, newModName, modChain[iCurrentModName].size)) == WS_ERROR)
return ERROR_HANDLE_DISK_FULL;
-
+
// check duplicated modulenames
int i, n = 0;
for (i = iCurrentModName + 1; i < modChainCount; i++)