Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / stream.h
index 5596e33d097ff55a00469e91efef6d8ecf25c7fc..7cf0e620a20d005834e3f36017316c28cecba9aa 100644 (file)
@@ -61,7 +61,7 @@ static inline
 struct bt_ctf_stream_class_common *bt_ctf_stream_common_borrow_class(
                struct bt_ctf_stream_common *stream)
 {
-       BT_ASSERT(stream);
+       BT_ASSERT_DBG(stream);
        return stream->stream_class;
 }
 
This page took 0.024036 seconds and 4 git commands to generate.