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;