Fix -Wunused-variable warnings

This commit is contained in:
Johannes Schmidt 2025-11-19 10:30:24 +01:00
parent 8ef1604f72
commit a2e0ce426f
3 changed files with 0 additions and 7 deletions

View file

@ -101,9 +101,7 @@ IoEngine::~IoEngine()
boost::asio::post(m_IoContext, []() {
throw TerminateIoThread();
});
}
for (auto& thread : m_Threads) {
thread.join();
}
}

View file

@ -21,7 +21,6 @@ using namespace icinga;
REGISTER_URLHANDLER("/v1/console", ConsoleHandler);
static std::mutex l_QueryMutex;
static std::map<String, ApiScriptFrame> l_ApiScriptFrames;
static Timer::Ptr l_FrameCleanupTimer;
static std::mutex l_ApiScriptMutex;

View file

@ -397,10 +397,6 @@ void AdvancedHelper(const char *timestamp, DateTime from, DateTime to)
BOOST_AUTO_TEST_CASE(advanced)
{
String timestamp;
boost::posix_time::ptime begin;
boost::posix_time::ptime end;
boost::posix_time::ptime expectedBegin;
boost::posix_time::ptime expectedEnd;
//-----------------------------------------------------
// 2019-05-06 where Icinga celebrates 10 years #monitoringlove