X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fctf-writer%2Fstream-class.h;h=8b31c46e5451fdfeaa8c10e171d3797669aa3f5f;hb=98b15851a941e7342b8bb19e265cdc3a40fabfb8;hp=ca5a30750a16b8a4366ace41a4b33948c3d8f596;hpb=217cf9d33a3ffc88e6eeaf21f3d46ee00cbeb0c4;p=babeltrace.git diff --git a/src/ctf-writer/stream-class.h b/src/ctf-writer/stream-class.h index ca5a3075..8b31c46e 100644 --- a/src/ctf-writer/stream-class.h +++ b/src/ctf-writer/stream-class.h @@ -155,7 +155,7 @@ static inline struct bt_ctf_trace_common *bt_ctf_stream_class_common_borrow_trace( struct bt_ctf_stream_class_common *stream_class) { - BT_ASSERT(stream_class); + BT_ASSERT_DBG(stream_class); return (void *) bt_ctf_object_borrow_parent(&stream_class->base); } @@ -205,7 +205,7 @@ static inline void _bt_ctf_stream_class_common_set_id( struct bt_ctf_stream_class_common *stream_class, int64_t id) { - BT_ASSERT(stream_class); + BT_ASSERT_DBG(stream_class); stream_class->id = id; stream_class->id_set = 1; BT_LOGT("Set stream class's ID (internal): "