projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: add pre condition asserts to check current thread has no error
[babeltrace.git]
/
src
/
lib
/
trace-ir
/
packet-context-field.c
diff --git
a/src/lib/trace-ir/packet-context-field.c
b/src/lib/trace-ir/packet-context-field.c
index 786cbdf6a76aa24b12f8a93a39abf11d3a28d30b..c5a628c2e1e5ac96a8c51f69fa3a77bdfb8e7556 100644
(file)
--- a/
src/lib/trace-ir/packet-context-field.c
+++ b/
src/lib/trace-ir/packet-context-field.c
@@
-62,6
+62,7
@@
struct bt_packet_context_field *bt_packet_context_field_create(
{
struct bt_field_wrapper *field_wrapper;
+ BT_ASSERT_PRE_NO_ERROR();
BT_ASSERT_PRE_NON_NULL(stream_class, "Stream class");
BT_ASSERT_PRE(stream_class->supports_packets,
"Stream class does not support packets: %![sc-]+S",
This page took
0.022992 seconds
and
4
git commands to generate.