Code cosmetics: reduce the amount of cppcheck warnings

This commit is contained in:
Felipe Zimmerle
2015-08-12 15:22:00 -03:00
parent 21400ba454
commit d5fe21ce3c
24 changed files with 49 additions and 56 deletions

View File

@@ -47,6 +47,7 @@ class Rules : public RulesProperties {
Rules()
: debugLog(NULL),
RulesProperties(NULL),
m_referenceCount(0),
unicode_codepage(0) {
unicode_map_table = reinterpret_cast<int *>(
malloc(sizeof(int)*65536));
@@ -55,6 +56,7 @@ class Rules : public RulesProperties {
explicit Rules(DebugLog *customLog)
: debugLog(NULL),
m_referenceCount(0),
unicode_codepage(0),
RulesProperties(customLog) {
unicode_map_table = reinterpret_cast<int *>(