X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fplugin%2Fplugin.c;fp=lib%2Fplugin%2Fplugin.c;h=59b8727381c2c59efa39d183bb1e91544c5c68f7;hb=f6ccaed94e575af57fe6bf38154771bee4871a2a;hp=3ff50de62161fb89464fb6df038ac7e8ba045c32;hpb=464ebc311d460b29f681703aea0aa00eef9e6475;p=babeltrace.git diff --git a/lib/plugin/plugin.c b/lib/plugin/plugin.c index 3ff50de6..59b87273 100644 --- a/lib/plugin/plugin.c +++ b/lib/plugin/plugin.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -713,8 +714,8 @@ struct bt_component_class *bt_plugin_get_component_class_by_name_and_type( enum bt_component_class_type comp_class_cand_type = bt_component_class_get_type(comp_class_candidate); - assert(comp_class_cand_name); - assert(comp_class_cand_type >= 0); + BT_ASSERT(comp_class_cand_name); + BT_ASSERT(comp_class_cand_type >= 0); if (strcmp(name, comp_class_cand_name) == 0 && comp_class_cand_type == type) {