Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / trace-ir / stream.h
index 23f69c274d742e5329b51348eb8a5636dc47e1c4..e0660efd7861e2df3f2e068a6501c1e9944d14f2 100644 (file)
@@ -71,7 +71,7 @@ void _bt_stream_freeze(const struct bt_stream *stream);
 static inline
 struct bt_trace *bt_stream_borrow_trace_inline(const struct bt_stream *stream)
 {
-       BT_ASSERT(stream);
+       BT_ASSERT_DBG(stream);
        return (void *) bt_object_borrow_parent(&stream->base);
 }
 
This page took 0.023147 seconds and 4 git commands to generate.