From 4049342bb92bed5552ef3878eb39d18a387cd21e Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 4 Dec 2018 16:32:13 -0500 Subject: [PATCH] Fix: notif-iter.c: handle single/implicit SC/EC correctly Signed-off-by: Philippe Proulx --- plugins/ctf/common/notif-iter/notif-iter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/ctf/common/notif-iter/notif-iter.c b/plugins/ctf/common/notif-iter/notif-iter.c index e6b4f8b7..b7be219f 100644 --- a/plugins/ctf/common/notif-iter/notif-iter.c +++ b/plugins/ctf/common/notif-iter/notif-iter.c @@ -750,7 +750,6 @@ enum bt_notif_iter_status set_current_stream_class(struct bt_notif_iter *notit) new_stream_class = notit->meta.tc->stream_classes->pdata[0]; notit->cur_stream_class_id = new_stream_class->id; - goto end; } new_stream_class = ctf_trace_class_borrow_stream_class_by_id( @@ -1166,7 +1165,6 @@ enum bt_notif_iter_status set_current_event_class(struct bt_notif_iter *notit) new_event_class = notit->meta.sc->event_classes->pdata[0]; notit->cur_event_class_id = new_event_class->id; - goto end; } new_event_class = ctf_stream_class_borrow_event_class_by_id( -- 2.34.1