lib: add pre condition asserts to check current thread has no error
[babeltrace.git] / src / lib / graph / component-class-sink-simple.c
index b347280f7a8588b573c52d8bd8df097fc08eee1d..21fb0b799ed65e2bc0b431c8b46c4cfca28ed3e3 100644 (file)
@@ -192,6 +192,8 @@ struct bt_component_class_sink *bt_component_class_sink_simple_borrow(void)
 {
        enum bt_component_class_set_method_status set_method_status;
 
+       BT_ASSERT_PRE_NO_ERROR();
+
        if (simple_comp_cls) {
                goto end;
        }
This page took 0.023221 seconds and 4 git commands to generate.