diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-22 15:23:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-22 15:23:04 +0300 |
commit | 92fec1aa22df4c4f1213d33663637c00b753f451 (patch) | |
tree | cc80e435a189a5d4766bdffd08f9997e7fff51b9 /plugins/Db3x_mmap/src/dbtool/modulechain.cpp | |
parent | 94dde7112f11c5963aa620c692170d02fe65a2a7 (diff) |
code cleaning
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool/modulechain.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/modulechain.cpp | 6 |
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 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;
}
}
|