From: Philippe Proulx Date: Wed, 21 Dec 2016 22:29:35 +0000 (-0500) Subject: Fix: remove assert() for existing SC field types X-Git-Tag: v2.0.0-pre1~582 X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=a04e2b05cf00fabf1ecddf644f4c17b74112235f;p=babeltrace.git Fix: remove assert() for existing SC field types Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/formats/ctf/ir/stream-class.c b/formats/ctf/ir/stream-class.c index c467da9a..313d51bc 100644 --- a/formats/ctf/ir/stream-class.c +++ b/formats/ctf/ir/stream-class.c @@ -622,7 +622,6 @@ struct bt_ctf_field_type *bt_ctf_stream_class_get_event_header_type( goto end; } - assert(stream_class->event_header_type); bt_get(stream_class->event_header_type); ret = stream_class->event_header_type; end: