From: Jérémie Galarneau Date: Sun, 14 Dec 2014 23:34:47 +0000 (-0500) Subject: Cleanup: Misplaced end label in bt_ctf_stream_get_packet_context X-Git-Tag: v2.0.0-pre1~1448 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=34629a552f27cdbe7c104a242049818a686d9621 Cleanup: Misplaced end label in bt_ctf_stream_get_packet_context Signed-off-by: Jérémie Galarneau --- diff --git a/formats/ctf/ir/stream.c b/formats/ctf/ir/stream.c index ce909bf4..5cf7eab3 100644 --- a/formats/ctf/ir/stream.c +++ b/formats/ctf/ir/stream.c @@ -329,10 +329,10 @@ struct bt_ctf_field *bt_ctf_stream_get_packet_context( } packet_context = stream->packet_context; -end: if (packet_context) { bt_ctf_field_get(packet_context); } +end: return packet_context; }