diff options
Diffstat (limited to 'debug')
-rw-r--r-- | debug/tst-chk1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debug/tst-chk1.c b/debug/tst-chk1.c index 27b4f15346..9c9f82a3af 100644 --- a/debug/tst-chk1.c +++ b/debug/tst-chk1.c @@ -51,6 +51,7 @@ do_prepare (void) } volatile int chk_fail_ok; +volatile int ret; jmp_buf chk_fail_buf; static void @@ -86,7 +87,6 @@ int num2 = 987654; #define CHK_FAIL_END \ chk_fail_ok = 0; \ FAIL (); \ - ret = 1; \ } #if __USE_FORTIFY_LEVEL >= 2 #define CHK_FAIL2_START CHK_FAIL_START @@ -99,7 +99,6 @@ int num2 = 987654; static int do_test (void) { - int ret = 0; struct sigaction sa; sa.sa_handler = handler; sa.sa_flags = 0; |