break;
}
default:
- abort();
+ bt_common_abort();
}
if (!method) {
range_set->ranges->len > 0,
"User method returned `BT_FUNC_STATUS_OK` without "
"adding a range to the supported MIP version range set.");
+ BT_ASSERT_POST_NO_ERROR_IF_NO_ERROR_STATUS(method_status);
if (method_status < 0) {
BT_LIB_LOGW_APPEND_CAUSE(
"Component class's \"get supported MIP versions\" method failed: "
{
int status = BT_FUNC_STATUS_OK;
+ BT_ASSERT_PRE_NO_ERROR();
BT_ASSERT_PRE_NON_NULL(comp_descr_set, "Component descriptor set");
BT_ASSERT_PRE_NON_NULL(operative_mip_version,
"Operative MIP version (output)");