Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / field-path.c
index dbd817a55d89e9753cff4cd85f5eb2b204b1ea8d..564269731e9f2109afa0cf1f45d83548c3fa8b66 100644 (file)
@@ -25,7 +25,7 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "CTF-WRITER-FIELD-PATH"
+#define BT_LOG_TAG "CTF-WRITER/FIELD-PATH"
 #include "logging.h"
 
 #include <glib.h>
@@ -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.023929 seconds and 4 git commands to generate.