Cleanup: add `#include <stdbool.h>` whenever `bool` type is used
[babeltrace.git] / src / lib / trace-ir / event.c
index fe1489bb0a64d42d5d6f787de83fdd236c599714..ed2e2f84911b88b1e150b805aae94ae74909b7d5 100644 (file)
@@ -34,6 +34,7 @@
 #include "common/assert.h"
 #include "compat/compiler.h"
 #include <inttypes.h>
+#include <stdbool.h>
 
 #include "field.h"
 #include "field-class.h"
@@ -49,7 +50,7 @@
 BT_HIDDEN
 void _bt_event_set_is_frozen(const struct bt_event *event, bool is_frozen)
 {
-       BT_ASSERT(event);
+       BT_ASSERT_DBG(event);
        BT_LIB_LOGD("Setting event's frozen state: %!+e, is-frozen=%d",
                event, is_frozen);
 
This page took 0.025243 seconds and 4 git commands to generate.