Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / plugins / lttng-utils / debug-info / trace-ir-metadata-copy.c
index 3fd46539e6fa41368db30f0eb00487caa3f1fa0d..e1aa3cad09e6973cd1385ac2f57752d6c7ab9b50 100644 (file)
@@ -135,8 +135,8 @@ bt_clock_class *borrow_mapped_clock_class(
                struct trace_ir_metadata_maps *md_maps,
                const bt_clock_class *in_clock_class)
 {
-       BT_ASSERT(md_maps);
-       BT_ASSERT(in_clock_class);
+       BT_ASSERT_DBG(md_maps);
+       BT_ASSERT_DBG(in_clock_class);
 
        return g_hash_table_lookup(md_maps->clock_class_map,
                (gpointer) in_clock_class);
This page took 0.025269 seconds and 4 git commands to generate.