]> granicus.if.org Git - icinga2/commitdiff
Fix unused variable in dbevents
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 24 Jun 2015 12:12:18 +0000 (14:12 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 24 Jun 2015 12:12:18 +0000 (14:12 +0200)
refs #9055

lib/db_ido/dbevents.cpp

index 956eb6e0af9bd4561ad75327d93b7ce07ca04540..3453ac6213bbb0caa1a15055c82746f0abbc46d1 100644 (file)
@@ -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<unsigned long, unsigned long> state_time_bag = CompatUtility::ConvertTimestamp(ts);
 
        DbQuery query1;