]> granicus.if.org Git - icinga2/commitdiff
Fix warnings on initial startup (i.e. without a state file).
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Feb 2013 14:43:38 +0000 (15:43 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Feb 2013 14:43:38 +0000 (15:43 +0100)
Fixes #3606

components/delegation/delegationcomponent.cpp

index d88b5733ee1dcaf6d66a70686d4df63563d950f4..3e8d9cfaab4d20e585ae3d265a904f5a373f79f8 100644 (file)
@@ -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)