Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / graph / port.h
index fe9a64ef59a230235e1f13d50ad9c8eac23d6a9f..5ab277741cc38462be56566a387f5a6b4c1946ac 100644 (file)
@@ -48,7 +48,7 @@ void bt_port_set_connection(struct bt_port *port,
 static inline
 struct bt_component *bt_port_borrow_component_inline(const struct bt_port *port)
 {
-       BT_ASSERT(port);
+       BT_ASSERT_DBG(port);
        return (void *) bt_object_borrow_parent(&port->base);
 }
 
This page took 0.023828 seconds and 4 git commands to generate.