Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng / commands / set_session.c
index 947feb9d44dff4b64058e6797e3560c771b3a2e4..fb42d14d5d5e5b931485383c71c291c52e30821e 100644 (file)
@@ -13,7 +13,6 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <assert.h>
 
 #include <common/mi-lttng.h>
 
@@ -48,8 +47,8 @@ static int mi_print(char *session_name)
 {
        int ret;
 
-       assert(writer);
-       assert(session_name);
+       LTTNG_ASSERT(writer);
+       LTTNG_ASSERT(session_name);
 
        /*
         * Open a sessions element
This page took 0.024011 seconds and 4 git commands to generate.