From 9f931edc827393cba950c12a4f359e6ec4c2cd3f Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 16 Aug 2017 15:28:15 +0200 Subject: [PATCH] Livestatus: Fix crash with empty stats columns refs #5078 refs #5503 --- lib/livestatus/livestatusquery.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/livestatus/livestatusquery.cpp b/lib/livestatus/livestatusquery.cpp index 2def592ae..2427d40e7 100644 --- a/lib/livestatus/livestatusquery.cpp +++ b/lib/livestatus/livestatusquery.cpp @@ -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 statsKey; for (const String& columnName : m_Columns) { -- 2.40.0