Cleanup: Misplaced end label in bt_ctf_stream_get_packet_context
[babeltrace.git] / formats / ctf / ir / stream.c
index ce909bf4535696df0af262272d16159048519c9e..5cf7eab3323ab77a30a2f7c87c4315e6e32d7d28 100644 (file)
@@ -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;
 }
 
This page took 0.024792 seconds and 4 git commands to generate.