Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng-relayd / tracefile-array.c
index 05ce3ad34520c9f09c7bb91fe2b235684c2a106d..996c43e45363ca51bdead1a70323210e21f332ab 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #define _LGPL_SOURCE
-#include <assert.h>
 #include <common/common.h>
 #include <common/utils.h>
 #include <common/defaults.h>
@@ -168,7 +167,7 @@ bool tracefile_array_seq_in_file(struct tracefile_array *tfa,
                 */
                return true;
        }
-       assert(file_index < tfa->count);
+       LTTNG_ASSERT(file_index < tfa->count);
        if (seq == -1ULL) {
                return false;
        }
This page took 0.023297 seconds and 4 git commands to generate.