Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / trace-ir / event-class.h
index 83734eed1c7b9c313475fc7a36ca5d3586506d10..1b9bfea30c05f6e7453673a22331c1df31a044ee 100644 (file)
@@ -85,7 +85,7 @@ static inline
 struct bt_stream_class *bt_event_class_borrow_stream_class_inline(
                const struct bt_event_class *event_class)
 {
-       BT_ASSERT(event_class);
+       BT_ASSERT_DBG(event_class);
        return (void *) bt_object_borrow_parent(&event_class->base);
 }
 
This page took 0.023591 seconds and 4 git commands to generate.