Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / common / actions / path.c
index 4ee649928f646cee1de22306f71e690fc1bac9fa..9e1b448a6e20a9a6a6ac48ea1965c608bbc82900 100644 (file)
@@ -102,8 +102,8 @@ int lttng_action_path_copy(const struct lttng_action_path *src,
        int ret;
        size_t i, src_count;
 
-       assert(src);
-       assert(dst);
+       LTTNG_ASSERT(src);
+       LTTNG_ASSERT(dst);
 
        lttng_dynamic_array_init(&dst->indexes, sizeof(uint64_t), NULL);
        src_count = lttng_dynamic_array_get_count(&src->indexes);
This page took 0.023073 seconds and 4 git commands to generate.