Fix compiler warnings of missing NotificationTypeAll case

This commit is contained in:
Yonas Habteab 2025-06-03 18:15:03 +02:00
parent 186571ec99
commit 9e65a8b63b

View File

@ -269,10 +269,10 @@ const char* IcingaDB::GetNotificationTypeByEnum(NotificationType type)
return "flapping_start"; return "flapping_start";
case NotificationFlappingEnd: case NotificationFlappingEnd:
return "flapping_end"; return "flapping_end";
} default:
VERIFY(!"Invalid notification type."); VERIFY(!"Invalid notification type.");
} }
}
/** /**
* Converts the given comment type to its string representation. * Converts the given comment type to its string representation.