From: Gunnar Beutner Date: Tue, 5 Feb 2013 14:43:38 +0000 (+0100) Subject: Fix warnings on initial startup (i.e. without a state file). X-Git-Tag: v0.0.2~550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59f1d3ffc00a016f2fb2d4990c373f23f1bc4a56;p=icinga2 Fix warnings on initial startup (i.e. without a state file). Fixes #3606 --- diff --git a/components/delegation/delegationcomponent.cpp b/components/delegation/delegationcomponent.cpp index d88b5733e..3e8d9cfaa 100644 --- a/components/delegation/delegationcomponent.cpp +++ b/components/delegation/delegationcomponent.cpp @@ -28,7 +28,6 @@ void DelegationComponent::Start(void) m_DelegationTimer->SetInterval(30); m_DelegationTimer->OnTimerExpired.connect(boost::bind(&DelegationComponent::DelegationTimerHandler, this)); m_DelegationTimer->Start(); - m_DelegationTimer->Reschedule(0); } bool DelegationComponent::IsEndpointChecker(const Endpoint::Ptr& endpoint)