X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fctf-writer%2Fevent-class.h;h=3c44b57cdf625c0884385d31078ef0397ff03d17;hb=98b15851a941e7342b8bb19e265cdc3a40fabfb8;hp=35c1de5d244dd6ad89ea46898cf56eaedc6e0e33;hpb=ef267d12284b855bc52ee429a5dc12da1d1e3b95;p=babeltrace.git diff --git a/src/ctf-writer/event-class.h b/src/ctf-writer/event-class.h index 35c1de5d..3c44b57c 100644 --- a/src/ctf-writer/event-class.h +++ b/src/ctf-writer/event-class.h @@ -27,11 +27,11 @@ #include "common/assert.h" #include "common/macros.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include "object.h" @@ -70,7 +70,7 @@ static inline struct bt_ctf_stream_class_common *bt_ctf_event_class_common_borrow_stream_class( struct bt_ctf_event_class_common *event_class) { - BT_ASSERT(event_class); + BT_ASSERT_DBG(event_class); return (void *) bt_ctf_object_borrow_parent(&event_class->base); } @@ -94,7 +94,7 @@ const char *bt_ctf_event_class_common_get_name( struct bt_ctf_event_class_common *event_class) { BT_CTF_ASSERT_PRE_NON_NULL(event_class, "Event class"); - BT_ASSERT(event_class->name); + BT_ASSERT_DBG(event_class->name); return event_class->name->str; }