From: Michael Friedrich Date: Wed, 24 Jun 2015 12:12:18 +0000 (+0200) Subject: Fix unused variable in dbevents X-Git-Tag: v2.4.0~570 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45a0f09532fc4954fe12c77a667e62082b5667ba;p=icinga2 Fix unused variable in dbevents refs #9055 --- diff --git a/lib/db_ido/dbevents.cpp b/lib/db_ido/dbevents.cpp index 956eb6e0a..3453ac621 100644 --- a/lib/db_ido/dbevents.cpp +++ b/lib/db_ido/dbevents.cpp @@ -906,8 +906,6 @@ void DbEvents::AddStateChangeHistory(const Checkable::Ptr& checkable, const Chec << "add state change history for '" << checkable->GetName() << "'"; double ts = cr->GetExecutionEnd(); - - double now = Utility::GetTime(); std::pair state_time_bag = CompatUtility::ConvertTimestamp(ts); DbQuery query1;