diff --git a/include/proxy/logging/LogConfig.h b/include/proxy/logging/LogConfig.h index de123a8d14c..47a83d76939 100644 --- a/include/proxy/logging/LogConfig.h +++ b/include/proxy/logging/LogConfig.h @@ -163,8 +163,8 @@ class LogConfig : public ConfigInfo bool reconfiguration_needed = false; bool logging_space_exhausted = false; int64_t m_space_used = 0; - int64_t m_partition_space_left; - bool roll_log_files_now; // signal that files must be rolled + int64_t m_partition_space_left = static_cast(UINT_MAX); + bool roll_log_files_now = false; // signal that files must be rolled LogObjectManager log_object_manager; diff --git a/src/proxy/logging/LogConfig.cc b/src/proxy/logging/LogConfig.cc index b53e798cbb9..dfa20f7d512 100644 --- a/src/proxy/logging/LogConfig.cc +++ b/src/proxy/logging/LogConfig.cc @@ -252,7 +252,7 @@ LogConfig::read_configuration_variables() -------------------------------------------------------------------------*/ // TODO: Is UINT_MAX here really correct? -LogConfig::LogConfig() : m_partition_space_left(static_cast(UINT_MAX)) +LogConfig::LogConfig() { // Setup the default values for all LogConfig public variables so that // a LogConfig object is valid upon return from the constructor even