Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / clock.c
index b6889a6c62f29dcae15d9bd860442d7243aff662..bd9b4c56ced34df1879e92cb77c8eb4ec8b34d82 100644 (file)
@@ -70,7 +70,7 @@ struct bt_ctf_clock *bt_ctf_clock_create(const char *name)
        bt_uuid_generate(cc_uuid);
 
        ret = bt_ctf_clock_class_set_uuid(clock->clock_class, cc_uuid);
-       BT_ASSERT(ret == 0);
+       BT_ASSERT_DBG(ret == 0);
        return clock;
 
 error:
This page took 0.023036 seconds and 4 git commands to generate.