aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-08-20 15:42:51 +0200
committerCarbenium <carbenium@outlook.com>2015-09-24 22:36:37 +0200
commit7005089241e7bc7f0773810469ffcd9a4f67d200 (patch)
tree814d0a363f614ed0d27b378671b42f6355cc59f7 /src/common/Logging/Log.cpp
parenta3732aea4898404f877b16dd392b65cdca550da3 (diff)
Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1316687, 1316688 (cherry picked from commit 51a2a3fa93702f289cda1e64323f55aba02f1026)
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 c9ac4dfb9a2..e514182c5d4 100644
--- a/src/common/Logging/Log.cpp
+++ b/src/common/Logging/Log.cpp
@@ -28,7 +28,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>();