From 92fec1aa22df4c4f1213d33663637c00b753f451 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 Aug 2017 15:23:04 +0300 Subject: code cleaning --- 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 16ff76df78..60ae30af7c 100644 --- a/plugins/Db3x_mmap/src/dbtool/modulechain.cpp +++ b/plugins/Db3x_mmap/src/dbtool/modulechain.cpp @@ -23,7 +23,7 @@ struct ModChainEntry { DWORD ofsOld, ofsNew; int size; char name[257]; -} static *modChain = NULL; +} static *modChain = nullptr; static int modChainCount; static DWORD ofsCurrent; static int phase, iCurrentModName; @@ -132,9 +132,9 @@ DWORD CDb3Mmap::ConvertModuleNameOfs(DWORD ofsOld) void CDb3Mmap::FreeModuleChain() { - if (modChain != NULL) { + if (modChain != nullptr) { free(modChain); - modChain = NULL; + modChain = nullptr; last_mod = 0; } } -- cgit v1.2.3