lib: add post condition assertions for current thread error after user functions
[babeltrace.git] / src / lib / graph / mip.c
index 46347652cdb93ada1b12556aadd463f470d47aec..2e0aac35d65a8d5f03f555c81a4ca32e22957611 100644 (file)
@@ -146,6 +146,7 @@ int validate_operative_mip_version_in_array(GPtrArray *descriptors,
                        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: "
This page took 0.023753 seconds and 4 git commands to generate.