From: Gunnar Beutner Date: Tue, 3 Sep 2013 12:10:57 +0000 (+0200) Subject: Remove debug code. X-Git-Tag: v0.0.3~609 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe0fb171d05a898da19b79d3c8b6a941ff7dccda;p=icinga2 Remove debug code. --- diff --git a/lib/base/threadpool.cpp b/lib/base/threadpool.cpp index 51217b14d..c79e2143b 100644 --- a/lib/base/threadpool.cpp +++ b/lib/base/threadpool.cpp @@ -230,11 +230,6 @@ void ThreadPool::ManagerThreadProc(void) double avg_latency, max_latency; double utilization = 0; - Value adaptive = ScriptVariable::Get("ThreadPoolAdaptive"); - - if (!adaptive.IsEmpty() && !static_cast(adaptive)) - break; - { boost::mutex::scoped_lock lock(m_Mutex); diff --git a/lib/base/zlibstream.cpp b/lib/base/zlibstream.cpp index d7dbc3567..5a2417f3d 100644 --- a/lib/base/zlibstream.cpp +++ b/lib/base/zlibstream.cpp @@ -19,8 +19,6 @@ #include "base/zlibstream.h" #include "base/objectlock.h" -#include "base/convert.h" -#include "base/logger_fwd.h" #include using namespace icinga;