Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / graph / component.h
index c993ce6914df7a01c72f6a74d4553b43d30dea6c..9ddd9c52653a68c693b305b12cadc04aadd5f82a 100644 (file)
@@ -75,7 +75,7 @@ struct bt_component {
 static inline
 struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
 {
-       BT_ASSERT(comp);
+       BT_ASSERT_DBG(comp);
        return (void *) bt_object_borrow_parent(&comp->base);
 }
 
This page took 0.022975 seconds and 4 git commands to generate.