From d5f98458e06b9aee5522dc9475b5676e6fd14317 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 14 Dec 2014 17:35:00 +0000 Subject: Db3x_mmap: changed warning lavel to w4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11418 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbtool/modulechain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Db3x_mmap/src/dbtool/modulechain.cpp') 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++) -- cgit v1.2.3