mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
c82f5c0ce5
This patch fixes a "set but not used" warning in setjmp/jmpbug.c. A variable is used only to store the result of alloca. A cast to void is added to avoid the warning, and the variable is made volatile to ensure the call to alloca isn't optimized away for being unused. Tested for x86_64. * setjmp/jmpbug.c (test): Make foo volatile and cast it to void. |
||
---|---|---|
.. | ||
bits | ||
__longjmp.c | ||
bsd-_setjmp.c | ||
bsd-setjmp.c | ||
bug269-setjmp.c | ||
jmp-unwind.c | ||
jmpbug.c | ||
longjmp.c | ||
Makefile | ||
setjmp.c | ||
setjmp.h | ||
sigjmp.c | ||
tst-setjmp-fp.c | ||
tst-setjmp-static.c | ||
tst-setjmp.c | ||
tst-sigsetjmp.c | ||
Versions |