aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2016-08-04 21:54:02 +0200
committerjackpoz <giacomopoz@gmail.com>2016-08-04 21:54:02 +0200
commitfe6d8016afb71c81d9f26feac9aa0d3b0183a310 (patch)
treedbd39ff7a35f35e3bf1292045dc100c7f481340c /src
parent01f7bacd05d4e441880ec8b74acc5192bd136c44 (diff)
Common/Logging: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
Diffstat (limited to 'src')
-rw-r--r--src/common/Logging/AppenderFile.cpp2
-rw-r--r--src/common/Logging/Log.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/common/Logging/AppenderFile.cpp b/src/common/Logging/AppenderFile.cpp
index 0aee6805b46..ecb65ae7d16 100644
--- a/src/common/Logging/AppenderFile.cpp
+++ b/src/common/Logging/AppenderFile.cpp
@@ -51,8 +51,6 @@ AppenderFile::AppenderFile(uint8 id, std::string const& name, LogLevel level, Ap
if (extraArgs.size() > 2)
_maxFileSize = atoi(extraArgs[2]);
- else
- _maxFileSize = 0;
_dynamicName = std::string::npos != _fileName.find("%s");
_backup = (flags & APPENDER_FLAGS_MAKE_FILE_BACKUP) != 0;
diff --git a/src/common/Logging/Log.cpp b/src/common/Logging/Log.cpp
index b350a41b482..f7a84fb8b47 100644
--- a/src/common/Logging/Log.cpp
+++ b/src/common/Logging/Log.cpp
@@ -24,7 +24,6 @@
#include "AppenderFile.h"
#include "LogOperation.h"
-#include <cstdarg>
#include <cstdio>
#include <sstream>