sc_count = bt_trace_class_get_stream_class_count(tc);
for (i = 0; i < sc_count; i++) {
sc = bt_trace_class_borrow_stream_class_by_index_const(tc, i);
- BT_ASSERT(sc);
+ BT_ASSERT_DBG(sc);
cc = bt_stream_class_borrow_default_clock_class_const(sc);
if (cc) {
}
}
end:
- BT_ASSERT(cc);
+ BT_ASSERT_DBG(cc);
return cc;
}
if (bt_close_memstream(&metadata_buf, &size, fp)) {
BT_COMP_LOGE("bt_close_memstream: %s", strerror(errno));
}
- ret = 0;
+
fp = NULL;
if (len_read == 0) {