Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng / commands / add_context.c
index de066e6dc3410648fff47cb8720ff50ef9885f0c..90a54f7eef87eae4a884737a9d8a8bba67d3d98f 100644 (file)
@@ -15,7 +15,6 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <assert.h>
 
 #include <urcu/list.h>
 
@@ -559,7 +558,7 @@ enum lttng_domain_type get_domain(void)
        } else if (opt_log4j) {
                return LTTNG_DOMAIN_LOG4J;
        } else {
-               assert(0);
+               abort();
        }
 }
 
This page took 0.022973 seconds and 4 git commands to generate.