Fix: mi: logically dead code, missing ret assignment
[lttng-tools.git] / src / bin / lttng / commands / list.c
index f33e8d0e3d43ff85cd77eab67186f96bef120c26..580b13f1f88d9943162078e0655a2bb47448599b 100644 (file)
@@ -746,7 +746,7 @@ static int mi_list_kernel_events(struct lttng_event *events, int count,
        }
 
        for (i = 0; i < count; i++) {
-               mi_lttng_event(writer, &events[i], 0);
+               ret = mi_lttng_event(writer, &events[i], 0);
                if (ret) {
                        goto end;
                }
This page took 0.02425 seconds and 5 git commands to generate.