Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / plugins / text / details / details.c
index 88b7fe326d5eaa533de6aabbfe693ddaf04dc814..585f97b267b4532a3d2f000726eb33cc0abd18b8 100644 (file)
@@ -467,8 +467,8 @@ details_consume(bt_self_component_sink *comp)
 
        details_comp = bt_self_component_get_data(
                bt_self_component_sink_as_self_component(comp));
-       BT_ASSERT(details_comp);
-       BT_ASSERT(details_comp->msg_iter);
+       BT_ASSERT_DBG(details_comp);
+       BT_ASSERT_DBG(details_comp->msg_iter);
 
        /* Consume messages */
        next_status = bt_self_component_port_input_message_iterator_next(
This page took 0.023044 seconds and 4 git commands to generate.