Fix uninitialized field in the LivestatusQuery class

Coverity Bug ID: 1272325
This commit is contained in:
Gunnar Beutner 2015-03-02 10:00:09 +01:00
parent 9548692f00
commit 8f7599d4b3
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static void InitScriptFrameCleanup(void)
INITIALIZE_ONCE(InitScriptFrameCleanup);
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()))
{
if (lines.size() == 0) {