projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git]
/
src
/
ctf-writer
/
stream-class.h
diff --git
a/src/ctf-writer/stream-class.h
b/src/ctf-writer/stream-class.h
index ca5a30750a16b8a4366ace41a4b33948c3d8f596..8b31c46e5451fdfeaa8c10e171d3797669aa3f5f 100644
(file)
--- a/
src/ctf-writer/stream-class.h
+++ b/
src/ctf-writer/stream-class.h
@@
-155,7
+155,7
@@
static inline
struct bt_ctf_trace_common *bt_ctf_stream_class_common_borrow_trace(
struct bt_ctf_stream_class_common *stream_class)
{
struct bt_ctf_trace_common *bt_ctf_stream_class_common_borrow_trace(
struct bt_ctf_stream_class_common *stream_class)
{
- BT_ASSERT(stream_class);
+ BT_ASSERT
_DBG
(stream_class);
return (void *) bt_ctf_object_borrow_parent(&stream_class->base);
}
return (void *) bt_ctf_object_borrow_parent(&stream_class->base);
}
@@
-205,7
+205,7
@@
static inline
void _bt_ctf_stream_class_common_set_id(
struct bt_ctf_stream_class_common *stream_class, int64_t id)
{
void _bt_ctf_stream_class_common_set_id(
struct bt_ctf_stream_class_common *stream_class, int64_t id)
{
- BT_ASSERT(stream_class);
+ BT_ASSERT
_DBG
(stream_class);
stream_class->id = id;
stream_class->id_set = 1;
BT_LOGT("Set stream class's ID (internal): "
stream_class->id = id;
stream_class->id_set = 1;
BT_LOGT("Set stream class's ID (internal): "
This page took
0.023234 seconds
and
4
git commands to generate.