Replace assert() -> BT_ASSERT() and some preconditions with BT_ASSERT_PRE()
[babeltrace.git] / cli / babeltrace-log.c
index 9037dd93f87bb0eeaab26d37e61518bec2b6e82f..d429ceb1d0f0edd8765b8588fb6aac2f95920f17 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdio.h>
 #include <stdbool.h>
 #include <string.h>
-#include <assert.h>
+#include <babeltrace/assert-internal.h>
 #include <babeltrace/babeltrace.h>
 #include <popt.h>
 #include <glib.h>
@@ -96,7 +96,7 @@ int parse_params(int argc, char *argv[], char **output_path,
        }
 
        *output_path = strdup(leftover);
-       assert(*output_path);
+       BT_ASSERT(*output_path);
        goto end;
 
 error:
This page took 0.036221 seconds and 4 git commands to generate.