Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng / commands / list.c
index 34a9c8aa0d612e7dc49ea78d9f0dbfa9d762230e..f4c97cbd1c345d669f5d95ee84b655ade3f51367 100644 (file)
@@ -13,7 +13,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 #include <common/mi-lttng.h>
 #include <common/time.h>
@@ -426,7 +425,7 @@ static void print_events(struct lttng_event *event)
                /* Fall-through. */
        default:
                /* We should never have "all" events in list. */
-               assert(0);
+               abort();
                break;
        }
 
This page took 0.022916 seconds and 4 git commands to generate.