aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-08-20 15:42:51 +0200
committerjackpoz <giacomopoz@gmail.com>2015-08-20 15:42:51 +0200
commit51a2a3fa93702f289cda1e64323f55aba02f1026 (patch)
treec4211dedbdae8754dcf200aaea60a0a3d0450bc4 /src/common/Logging/Log.cpp
parent30fc4f9f63b7a0ce01e5aad4667902991b70e298 (diff)
Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1316687, 1316688
Diffstat (limited to 'src/common/Logging/Log.cpp')
-rw-r--r--src/common/Logging/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Logging/Log.cpp b/src/common/Logging/Log.cpp
index 93b7b9d122e..57d399a9d96 100644
--- a/src/common/Logging/Log.cpp
+++ b/src/common/Logging/Log.cpp
@@ -27,7 +27,7 @@
#include <cstdio>
#include <sstream>
-Log::Log() : _ioService(nullptr), _strand(nullptr)
+Log::Log() : AppenderId(0), lowestLogLevel(LOG_LEVEL_FATAL), _ioService(nullptr), _strand(nullptr)
{
m_logsTimestamp = "_" + GetTimestampStr();
RegisterAppender<AppenderConsole>();