Livestatus: Fix crash with empty stats columns

refs #5078
refs #5503
This commit is contained in:
Michael Friedrich 2017-08-16 15:28:15 +02:00
parent de1f254fdb
commit 52dcce972f
1 changed files with 0 additions and 2 deletions

View File

@ -516,8 +516,6 @@ void LivestatusQuery::ExecuteGetHelper(const Stream::Ptr& stream)
/* add aggregated stats */
for (const LivestatusRowValue& object : objects) {
Column column = table->GetColumn(m_Columns[0]);
std::vector<Value> statsKey;
for (const String& columnName : m_Columns) {