X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fcomponent-sink.c;fp=src%2Flib%2Fgraph%2Fcomponent-sink.c;h=b848a019acba3932a7d054efdb326f5a4aedf1a1;hb=98b15851a941e7342b8bb19e265cdc3a40fabfb8;hp=9d4e11d47cc17d9a4859cb77db6d6f8f0ddb02ca;hpb=4b3b8e4ad436df173c9ecdf8279ccaa3a6d41201;p=babeltrace.git diff --git a/src/lib/graph/component-sink.c b/src/lib/graph/component-sink.c index 9d4e11d4..b848a019 100644 --- a/src/lib/graph/component-sink.c +++ b/src/lib/graph/component-sink.c @@ -70,8 +70,8 @@ bt_component_sink_borrow_class_const( cls = component->parent.class; - BT_ASSERT(cls); - BT_ASSERT(cls->type == BT_COMPONENT_CLASS_TYPE_SINK); + BT_ASSERT_DBG(cls); + BT_ASSERT_DBG(cls->type == BT_COMPONENT_CLASS_TYPE_SINK); return (bt_component_class_sink *) cls; }