lib: run most of bt_self_component_port_input_message_iterator_try_finalize when...
[babeltrace.git] / src / lib / error.c
index f54b65f342f443517f4bb6d071dd9ede089512b0..3972b26c7f54b76a7b20f79baf5f0f26b7d5aca5 100644 (file)
@@ -261,7 +261,7 @@ void append_component_class_id_str(GString *str,
                type_str = "sink";
                break;
        default:
-               abort();
+               bt_common_abort();
        }
 
        if (comp_class_id->plugin_name->len > 0) {
@@ -363,6 +363,7 @@ end:
        return cause;
 }
 
+static
 struct bt_error_cause_message_iterator_actor *
 create_error_cause_message_iterator_actor(struct bt_message_iterator *iter,
                const char *file_name, uint64_t line_no)
@@ -378,8 +379,6 @@ create_error_cause_message_iterator_actor(struct bt_message_iterator *iter,
         * message iterator, which is a self component port input
         * message iterator.
         */
-       BT_ASSERT(iter->type ==
-               BT_MESSAGE_ITERATOR_TYPE_SELF_COMPONENT_PORT_INPUT);
        input_port_iter = (void *) iter;
        cause = g_new0(struct bt_error_cause_message_iterator_actor, 1);
        if (!cause) {
This page took 0.024615 seconds and 4 git commands to generate.