projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: unchecked bt_ctf_event_set_clock_value return value
[babeltrace.git]
/
tests
/
plugins
/
test-utils-muxer.c
diff --git
a/tests/plugins/test-utils-muxer.c
b/tests/plugins/test-utils-muxer.c
index 0ffe3db172ed31952062fcd92406d1b9b5a46dfd..c1aff68a407d8e2da8a53f343bde09f52a5859e8 100644
(file)
--- a/
tests/plugins/test-utils-muxer.c
+++ b/
tests/plugins/test-utils-muxer.c
@@
-528,6
+528,7
@@
struct bt_ctf_event *src_create_event(struct bt_ctf_packet *packet,
(uint64_t) ts_ns);
assert(clock_value);
ret = bt_ctf_event_set_clock_value(event, clock_value);
+ assert(ret == 0);
bt_put(clock_value);
}
This page took
0.023796 seconds
and
4
git commands to generate.