[icinga-checkins] icinga.org: icinga2/master: Fix warnings on initial startup (i.e. without a state file).

git at icinga.org git at icinga.org
Tue Feb 5 15:43:42 CET 2013


Module: icinga2
Branch: master
Commit: 59f1d3ffc00a016f2fb2d4990c373f23f1bc4a56
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=59f1d3ffc00a016f2fb2d4990c373f23f1bc4a56

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Feb  5 15:43:38 2013 +0100

Fix warnings on initial startup (i.e. without a state file).

Fixes #3606

---

 components/delegation/delegationcomponent.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/components/delegation/delegationcomponent.cpp b/components/delegation/delegationcomponent.cpp
index d88b573..3e8d9cf 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)





More information about the icinga-checkins mailing list