Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / bin / lttng / commands / destroy.c
index 398646f2e65183e5ce77d34eaec60dad3d006f3b..78bbbaaad37e25a6e94648236860fe11a60252db 100644 (file)
@@ -241,7 +241,7 @@ static int destroy_all_sessions(struct lttng_session *sessions, int count)
        int i;
        bool error_occurred = false;
 
-       assert(count >= 0);
+       LTTNG_ASSERT(count >= 0);
        if (count == 0) {
                MSG("No session found, nothing to do.");
        }
This page took 0.023118 seconds and 4 git commands to generate.