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
/
plugins
/
text
/
pretty
/
pretty.c
diff --git
a/src/plugins/text/pretty/pretty.c
b/src/plugins/text/pretty/pretty.c
index 3ea6c54ad4be2316d99ebd93c2db34ee52c7bbe9..d496734f137346e8001f64fe35b2b80274221699 100644
(file)
--- a/
src/plugins/text/pretty/pretty.c
+++ b/
src/plugins/text/pretty/pretty.c
@@
-116,7
+116,7
@@
bt_component_class_message_iterator_next_method_status handle_message(
bt_component_class_message_iterator_next_method_status ret =
BT_COMPONENT_CLASS_MESSAGE_ITERATOR_NEXT_METHOD_STATUS_OK;
bt_component_class_message_iterator_next_method_status ret =
BT_COMPONENT_CLASS_MESSAGE_ITERATOR_NEXT_METHOD_STATUS_OK;
- BT_ASSERT(pretty);
+ BT_ASSERT
_DBG
(pretty);
switch (bt_message_get_type(message)) {
case BT_MESSAGE_TYPE_EVENT:
switch (bt_message_get_type(message)) {
case BT_MESSAGE_TYPE_EVENT:
@@
-199,7
+199,7
@@
bt_component_class_sink_consume_method_status pretty_consume(
goto end;
}
goto end;
}
- BT_ASSERT(next_status == BT_MESSAGE_ITERATOR_NEXT_STATUS_OK);
+ BT_ASSERT
_DBG
(next_status == BT_MESSAGE_ITERATOR_NEXT_STATUS_OK);
for (i = 0; i < count; i++) {
ret = (int) handle_message(pretty, msgs[i]);
for (i = 0; i < count; i++) {
ret = (int) handle_message(pretty, msgs[i]);
This page took
0.023371 seconds
and
4
git commands to generate.