fix a warning in assertions.h, appear only with some gcc versions

This commit is contained in:
Laurent Thomas
2022-02-21 10:29:06 +01:00
parent 72a4ed80da
commit 67b299e341
+1 -1
View File
@@ -35,7 +35,7 @@
char tmp [1000]; \
sprintf(tmp,"gdb -ex='set confirm off' -ex 'thread apply all bt' -ex q -p %d > /tmp/full_stacks.%d < /dev/null", \
getpid(), getpid()); \
system(tmp); \
__attribute__((unused)) int dummy=system(tmp); \
} \
fprintf(stderr, "\nExiting execution\n"); \
fflush(stdout); \