X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=cli%2Fbabeltrace.c;h=a058bcebe46273c3638685f84643311a8b565d84;hb=1ddeea3465b39d2953151302a787176b955c61a0;hp=7c98cdf00b3c667f50376b3444050799cf6e2ae8;hpb=2723b834411cf933bc919e9345c28a740e21ef55;p=deliverable%2Fbabeltrace.git diff --git a/cli/babeltrace.c b/cli/babeltrace.c index 7c98cdf00..a058bcebe 100644 --- a/cli/babeltrace.c +++ b/cli/babeltrace.c @@ -2010,7 +2010,6 @@ int set_stream_intersections(struct cmd_run_ctx *ctx, */ for (stream_idx = 0; stream_idx < stream_count; stream_idx++) { const char *stream_path; - gboolean hash_ret; port_id = g_new0(struct port_id, 1); if (!port_id) { @@ -2073,9 +2072,7 @@ int set_stream_intersections(struct cmd_run_ctx *ctx, BT_LOGD("Inserting stream intersection "); - hash_ret = g_hash_table_insert(ctx->intersections, - port_id, trace_range); - assert(hash_ret); + g_hash_table_insert(ctx->intersections, port_id, trace_range); port_id = NULL; trace_range = NULL;