Cleanup: Dead assignments
[babeltrace.git] / src / cli / babeltrace2.c
index 4cc4234ee646edc8de6a3db7ed1a8750d4f6cce2..378fff8a1c9f2e52da6bb6b04c3fd34450109bb9 100644 (file)
@@ -2055,7 +2055,6 @@ int compute_stream_intersection(const bt_value *streams,
                                "range-ns:begin=%" PRId64 ", "
                                "range-ns:end=%" PRId64,
                                begin_ns, end_ns);
-                       ret = -1;
                        goto error;
                }
 
@@ -2099,7 +2098,7 @@ int set_stream_intersections(struct cmd_run_ctx *ctx,
                cfg_comp->params, &query_result,
                &fail_reason);
        if (ret) {
-               BT_CLI_LOGE_APPEND_CAUSE("Component class does not support the `babeltrace.trace-infos` query: %s: "
+               BT_CLI_LOGE_APPEND_CAUSE("Failed to execute `babeltrace.trace-infos` query: %s: "
                        "comp-class-name=\"%s\"", fail_reason,
                        bt_component_class_get_name(comp_cls));
                ret = -1;
This page took 0.022685 seconds and 4 git commands to generate.