Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / field-path.c
index be19b4032c9e9a87e1624fb5b7922492c9c13c7b..564269731e9f2109afa0cf1f45d83548c3fa8b66 100644 (file)
@@ -33,7 +33,7 @@
 #include <limits.h>
 #include <stdint.h>
 
-#include <babeltrace2/ctf-writer/field-types.h>
+#include <babeltrace2-ctf-writer/field-types.h>
 
 #include "common/assert.h"
 
@@ -101,7 +101,7 @@ struct bt_ctf_field_path *bt_ctf_field_path_copy(
 {
        struct bt_ctf_field_path *new_path;
 
-       BT_ASSERT(path);
+       BT_ASSERT_DBG(path);
        BT_LOGD("Copying field path: addr=%p, index-count=%u",
                path, path->indexes->len);
        new_path = bt_ctf_field_path_create();
This page took 0.024358 seconds and 4 git commands to generate.