]> granicus.if.org Git - icinga2/commitdiff
Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
authorGunnar Beutner <gunnar@beutner.name>
Tue, 17 Dec 2013 06:39:39 +0000 (07:39 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 17 Dec 2013 06:52:35 +0000 (07:52 +0100)
Refs #5349

lib/icinga/compatutility.cpp

index cb779ee331a90c1ee10c3aad9c426e06ba98b625..f1bbb9f4cd522f04836c1e32fe167b076e43d454 100644 (file)
@@ -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;