Reported by Coverity as:
CID
1349725 (#1 of 1): Unchecked return value (CHECKED_RETURN)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#define DEFAULT_CLOCK_TIME 0
#define DEFAULT_CLOCK_VALUE 0
-#define NR_TESTS 605
+#define NR_TESTS 606
static int64_t current_time = 42;
"bt_ctf_event_class_get_context_type returns the appropriate type");
bt_put(returned_type);
- bt_ctf_stream_class_add_event_class(stream_class, simple_event_class);
+ ok(!bt_ctf_stream_class_add_event_class(stream_class, simple_event_class),
+ "Adding simple event class to stream class");
/*
* bt_ctf_stream_class_add_event_class() copies the field types