Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / graph / connection.h
index 530dfd9f95d4e9030b2be94e3652b957c0aceb36..8f2c32caf7a44a7fa618e5d1b121b2c7f2adf189 100644 (file)
@@ -76,7 +76,7 @@ void bt_connection_remove_iterator(struct bt_connection *conn,
 static inline
 struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
 {
-       BT_ASSERT(conn);
+       BT_ASSERT_DBG(conn);
        return (void *) conn->base.parent;
 }
 
This page took 0.024278 seconds and 4 git commands to generate.