BT_ASSERT(trace);
return bt_attributes_borrow_field_value_by_name(
- trace->environment, name) != NULL;
+ trace->environment, name);
}
static
BT_ASSERT(listener_id < trace->destruction_listeners->len);
return (&g_array_index(trace->destruction_listeners,
struct bt_trace_destruction_listener_elem,
- listener_id))->func != NULL;
+ listener_id))->func;
}
enum bt_trace_remove_listener_status bt_trace_remove_destruction_listener(