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
/
trace.h
diff --git
a/src/ctf-writer/trace.h
b/src/ctf-writer/trace.h
index 1b426821f182d65e181fe88671f1701c28b45da8..63c60798b552118ddb09d91b379b7382d367b5ca 100644
(file)
--- a/
src/ctf-writer/trace.h
+++ b/
src/ctf-writer/trace.h
@@
-117,7
+117,7
@@
int64_t bt_ctf_trace_common_get_environment_field_count(
BT_CTF_ASSERT_PRE_NON_NULL(trace, "Trace");
ret = bt_ctf_attributes_get_count(trace->environment);
- BT_ASSERT(ret >= 0);
+ BT_ASSERT
_DBG
(ret >= 0);
return ret;
}
This page took
0.022927 seconds
and
4
git commands to generate.