Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng-relayd / utils.c
index 4646a88a6cb44e34e822ad4bfb45c52a07dca2d6..599f7ff819f3cf4855ca9f7b47ae27d6343c0493 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #define _LGPL_SOURCE
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -69,7 +68,7 @@ exit:
  */
 char *create_output_path(const char *path_name)
 {
-       assert(path_name);
+       LTTNG_ASSERT(path_name);
 
        if (opt_output_path == NULL) {
                return create_output_path_auto(path_name);
This page took 0.024767 seconds and 4 git commands to generate.