Cosmetics: fix some cppcheck complains

This commit is contained in:
Felipe Zimmerle
2020-04-29 10:19:49 -03:00
parent 1f7d202985
commit 8bb1a90c4f
19 changed files with 155 additions and 53 deletions

View File

@@ -81,7 +81,7 @@ class SharedFiles {
{
#ifdef MODSEC_USE_GENERAL_LOCK
int shm_id;
bool toBeCreated;
bool toBeCreated(false);
bool err = false;
m_memKeyStructure = ftok(".", 1);