Commit cc2883cc authored by Laurent Thomas's avatar Laurent Thomas

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

parent 5c1e6a49
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
char tmp [1000]; \ 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", \ sprintf(tmp,"gdb -ex='set confirm off' -ex 'thread apply all bt' -ex q -p %d > /tmp/full_stacks.%d < /dev/null", \
getpid(), getpid()); \ getpid(), getpid()); \
system(tmp); \ __attribute__((unused)) int dummy=system(tmp); \
} \ } \
fprintf(stderr, "\nExiting execution\n"); \ fprintf(stderr, "\nExiting execution\n"); \
fflush(stdout); \ fflush(stdout); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment