enum bt_notification_type type,
bt_object_release_func release)
{
- assert(type > BT_NOTIFICATION_TYPE_ALL &&
- type < BT_NOTIFICATION_TYPE_NR);
+ assert(type > 0 && type < BT_NOTIFICATION_TYPE_NR);
notification->type = type;
bt_object_init(¬ification->base, release);
}