Cleanup: add `#include <stdbool.h>` whenever `bool` type is used
[babeltrace.git] / src / plugins / text / details / details.c
index 88b7fe326d5eaa533de6aabbfe693ddaf04dc814..875ed6bf67d8a8a67945ad873e8ee96dc61b6eea 100644 (file)
@@ -25,6 +25,8 @@
 #define BT_LOG_TAG "PLUGIN/SINK.TEXT.DETAILS"
 #include "logging/comp-logging.h"
 
+#include <stdbool.h>
+
 #include <babeltrace2/babeltrace.h>
 
 #include "common/common.h"
@@ -467,8 +469,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.037107 seconds and 4 git commands to generate.