lib: add pre condition asserts to check current thread has no error
[babeltrace.git] / src / lib / graph / message / message-iterator-inactivity.c
index adfa4c574ea4675886f8fe43e1f0f9f279ea05c9..e5776ae0490fdd982b7c5ab0e296a0a8e8c3bbfe 100644 (file)
@@ -61,6 +61,7 @@ struct bt_message *bt_message_message_iterator_inactivity_create(
        struct bt_message_message_iterator_inactivity *message;
        struct bt_message *ret_msg = NULL;
 
+       BT_ASSERT_PRE_DEV_NO_ERROR();
        BT_ASSERT_PRE_NON_NULL(msg_iter, "Message iterator");
        BT_ASSERT_PRE_NON_NULL(default_clock_class, "Default clock class");
        BT_LIB_LOGD("Creating message iterator inactivity message object: "
This page took 0.023287 seconds and 4 git commands to generate.