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
/
object-pool.c
diff --git
a/src/ctf-writer/object-pool.c
b/src/ctf-writer/object-pool.c
index 16f2be95db16a8874629d643399e3a78a018ff91..02ba13d4bb0c9fc5df5f60fe94cb5058e5db355c 100644
(file)
--- a/
src/ctf-writer/object-pool.c
+++ b/
src/ctf-writer/object-pool.c
@@
-37,8
+37,8
@@
int bt_ctf_object_pool_initialize(struct bt_ctf_object_pool *pool,
{
int ret = 0;
{
int ret = 0;
- BT_ASSERT(new_object_func);
- BT_ASSERT(destroy_object_func);
+ BT_ASSERT
_DBG
(new_object_func);
+ BT_ASSERT
_DBG
(destroy_object_func);
BT_LOGD("Initializing object pool: addr=%p, data-addr=%p",
pool, data);
pool->objects = g_ptr_array_new();
BT_LOGD("Initializing object pool: addr=%p, data-addr=%p",
pool, data);
pool->objects = g_ptr_array_new();
@@
-69,7
+69,7
@@
void bt_ctf_object_pool_finalize(struct bt_ctf_object_pool *pool)
{
uint64_t i;
{
uint64_t i;
- BT_ASSERT(pool);
+ BT_ASSERT
_DBG
(pool);
BT_LOGD("Finalizing object pool.");
if (pool->objects) {
BT_LOGD("Finalizing object pool.");
if (pool->objects) {
This page took
0.024741 seconds
and
4
git commands to generate.