Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / plugin / plugin.c
index 193adcaf7255f8d637e5d5e71041078f8fc26db4..aec5ed6837cb94378b173ad7c5a02245189b55d6 100644 (file)
@@ -845,7 +845,7 @@ struct bt_component_class *borrow_component_class_by_name(
                const char *comp_class_cand_name =
                        bt_component_class_get_name(comp_class_candidate);
 
-               BT_ASSERT(comp_class_cand_name);
+               BT_ASSERT_DBG(comp_class_cand_name);
 
                if (strcmp(name, comp_class_cand_name) == 0) {
                        comp_class = comp_class_candidate;
This page took 0.029795 seconds and 4 git commands to generate.