Fix: notif-iter.c: handle single/implicit SC/EC correctly
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 4 Dec 2018 21:32:13 +0000 (16:32 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/ctf/common/notif-iter/notif-iter.c

index e6b4f8b77931a1256372c78fcc87294b0fc7aa84..b7be219f0de02cb1f768d091d050a6c8547db411 100644 (file)
@@ -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(
This page took 0.027973 seconds and 4 git commands to generate.