Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / event.h
index ed21444a2a11fc2430da27622dfcf996df6dc7e8..ae6692d137491d50486ba93ea22159cf0d90c317 100644 (file)
@@ -82,7 +82,7 @@ static inline
 struct bt_ctf_event_class_common *bt_ctf_event_common_borrow_class(
                struct bt_ctf_event_common *event)
 {
-       BT_ASSERT(event);
+       BT_ASSERT_DBG(event);
        return event->class;
 }
 
This page took 0.023138 seconds and 4 git commands to generate.