summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-11-10 09:02:52 +0000
committerJakub Jelinek <jakub@redhat.com>2004-11-10 09:02:52 +0000
commit3504bb650f48534549bbd0313dc15fa71455e302 (patch)
tree742dd9cbcee1147fb36bcc02816bec415544597e /debug
parentcbf4bcd2b3d53de274548dbf4c28017d1f07d5b2 (diff)
Updated to fedora-glibc-20041110T0839
Diffstat (limited to 'debug')
-rw-r--r--debug/tst-chk1.c3
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;