Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng-consumerd / health-consumerd.c
index ffa0f3d0df2651993196dbe0cd86858955719561..90b4b1e12439eb9dcc34a265c20c37a3608668ce 100644 (file)
@@ -25,7 +25,6 @@
 #include <poll.h>
 #include <unistd.h>
 #include <sys/mman.h>
-#include <assert.h>
 #include <urcu/compiler.h>
 #include <ulimit.h>
 #include <inttypes.h>
@@ -298,7 +297,7 @@ restart:
 
                rcu_thread_online();
 
-               assert(msg.cmd == HEALTH_CMD_CHECK);
+               LTTNG_ASSERT(msg.cmd == HEALTH_CMD_CHECK);
 
                memset(&reply, 0, sizeof(reply));
                for (i = 0; i < NR_HEALTH_CONSUMERD_TYPES; i++) {
This page took 0.023696 seconds and 4 git commands to generate.