Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / src / common / spawn-viewer.c
index 4ca0ce1a2f45a92c8e1772c906355ce05de558ce..52be70526e5309e6c1ee10acefef030bf9238c39 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <assert.h>
 #include <stdbool.h>
 #include <sys/stat.h>
 #include <sys/types.h>
@@ -249,7 +248,7 @@ retry_viewer:
         * This function should never return if successfull because `execvp(3)`
         * onle returns if an error has occurred.
         */
-       assert(ret != 0);
+       LTTNG_ASSERT(ret != 0);
 error:
        free(argv);
        return ret;
This page took 0.023965 seconds and 4 git commands to generate.