diff --git a/lib/icinga/compatutility.cpp b/lib/icinga/compatutility.cpp index cb779ee33..f1bbb9f4c 100644 --- a/lib/icinga/compatutility.cpp +++ b/lib/icinga/compatutility.cpp @@ -548,8 +548,6 @@ String CompatUtility::GetServiceNotificationNotificationOptions(const Service::P { ASSERT(service->OwnsLock()); - bool is_hostcheck = (service->GetHost()->GetCheckService() == service); - unsigned long notification_type_filter = 0; unsigned long notification_state_filter = 0;