flt.lttng-utils.debug-info: fix: set but not used warnings
[babeltrace.git] / plugins / lttng-utils / debug-info.c
index fbffff2f994a270c5dc9aa7794a71d5420580d6d..c15f473d79be18eb432a0e1b1f0794ccf5ab0db9 100644 (file)
@@ -557,6 +557,9 @@ void debug_info_destroy(struct debug_info *debug_info)
 
        status = bt_trace_remove_destruction_listener(debug_info->input_trace,
                        debug_info->destruction_listener_id);
+       if (status != BT_TRACE_STATUS_OK) {
+               BT_LOGD("Trace destruction listener removal failed.");
+       }
 
        g_free(debug_info);
 end:
This page took 0.026411 seconds and 4 git commands to generate.