mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Code cosmetics: reduce the amount of cppcheck warnings
This commit is contained in:
@@ -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 *>(
|
||||
|
Reference in New Issue
Block a user