Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng-relayd / health-relayd.c
index 3ffb9b75968c7586b28666409579a58774f36488..57fa70f225c8b23a08ff27967b8656063d7b0359 100644 (file)
@@ -25,7 +25,6 @@
 #include <poll.h>
 #include <unistd.h>
 #include <sys/mman.h>
-#include <assert.h>
 #include <urcu/compiler.h>
 #include <inttypes.h>
 
@@ -441,7 +440,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_RELAYD_TYPES; i++) {
This page took 0.023026 seconds and 4 git commands to generate.