X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fcomponent.h;h=0925d5f265140321c200c17724e68a87c7b14029;hb=43c59509042845f8d42c3e99ec74d45fa2dc0908;hp=c993ce6914df7a01c72f6a74d4553b43d30dea6c;hpb=d24d56638469189904fb6ddbb3c725817b3e9417;p=babeltrace.git diff --git a/src/lib/graph/component.h b/src/lib/graph/component.h index c993ce69..0925d5f2 100644 --- a/src/lib/graph/component.h +++ b/src/lib/graph/component.h @@ -25,13 +25,14 @@ */ #include "common/macros.h" -#include +#include #include #include "lib/object.h" #include #include #include "common/assert.h" #include +#include #include #include "component-class.h" @@ -75,7 +76,7 @@ struct bt_component { static inline struct bt_graph *bt_component_borrow_graph(struct bt_component *comp) { - BT_ASSERT(comp); + BT_ASSERT_DBG(comp); return (void *) bt_object_borrow_parent(&comp->base); }