From 27f5f9fa0b41f0598428bd686a3f8a5d52998b5d Mon Sep 17 00:00:00 2001 From: Doug Moore Date: Sat, 20 May 2017 14:36:25 -0500 Subject: Leave ret_addr_column out of the data that gets copied when pushing/popping data on/off the register state stack. --- tests/Ltest-init-local-signal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/Ltest-init-local-signal.c b/tests/Ltest-init-local-signal.c index c77ad1ed..b834d44d 100644 --- a/tests/Ltest-init-local-signal.c +++ b/tests/Ltest-init-local-signal.c @@ -35,6 +35,7 @@ void handler(int num, siginfo_t* info, void* ucontext) { int ucontext_steps = stepper(&c); ret = unw_init_local(&c, &context); + (void)ret; assert(!ret); int getcontext_steps = stepper(&c); if (ucontext_steps == getcontext_steps - 2) { @@ -54,4 +55,5 @@ int main(){ sigaction(SIGSEGV, &a, NULL); foo(NULL); + return 0; } -- cgit v1.2.1