mirror of https://github.com/Icinga/icinga2.git
Fix uninitialized field in the LivestatusQuery class
Coverity Bug ID: 1272325
This commit is contained in:
parent
9548692f00
commit
8f7599d4b3
|
@ -84,7 +84,7 @@ static void InitScriptFrameCleanup(void)
|
||||||
INITIALIZE_ONCE(InitScriptFrameCleanup);
|
INITIALIZE_ONCE(InitScriptFrameCleanup);
|
||||||
|
|
||||||
LivestatusQuery::LivestatusQuery(const std::vector<String>& lines, const String& compat_log_path)
|
LivestatusQuery::LivestatusQuery(const std::vector<String>& lines, const String& compat_log_path)
|
||||||
: m_KeepAlive(false), m_OutputFormat("csv"), m_ColumnHeaders(true),
|
: m_KeepAlive(false), m_OutputFormat("csv"), m_ColumnHeaders(true), m_ErrorCode(0),
|
||||||
m_LogTimeFrom(0), m_LogTimeUntil(static_cast<long>(Utility::GetTime()))
|
m_LogTimeFrom(0), m_LogTimeUntil(static_cast<long>(Utility::GetTime()))
|
||||||
{
|
{
|
||||||
if (lines.size() == 0) {
|
if (lines.size() == 0) {
|
||||||
|
|
Loading…
Reference in New Issue