Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / utils.h
index 488251ce90de9f8ba8a72d3ed2f62e9603471daf..683905806ecec3f278bb08f3ea039bbc20c3d3ee 100644 (file)
@@ -21,9 +21,9 @@
  * SOFTWARE.
  */
 
-#include "common/babeltrace.h"
-#include <babeltrace2/ctf-writer/field-types.h>
-#include <babeltrace2/ctf-writer/event.h>
+#include "common/macros.h"
+#include <babeltrace2-ctf-writer/field-types.h>
+#include <babeltrace2-ctf-writer/event.h>
 #include <stdint.h>
 
 #include "field-path.h"
@@ -200,7 +200,7 @@ GString *bt_ctf_field_path_string(struct bt_ctf_field_path *path)
        GString *str = g_string_new(NULL);
        size_t i;
 
-       BT_ASSERT(path);
+       BT_ASSERT_DBG(path);
 
        if (!str) {
                goto end;
This page took 0.024767 seconds and 4 git commands to generate.