summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDoug Moore <dougm@rice.edu>2017-05-20 14:36:25 -0500
committerDoug Moore <dougm@rice.edu>2017-05-20 14:36:25 -0500
commit27f5f9fa0b41f0598428bd686a3f8a5d52998b5d (patch)
tree306efc7efd796e1fd1ba9f3d936ed8b228b44103 /tests
parentc66661f73cb66513e9c08897ab38e89c4ca96407 (diff)
downloadlibunwind-27f5f9fa0b41f0598428bd686a3f8a5d52998b5d.tar.gz
Leave ret_addr_column out of the data that gets copied when pushing/popping
data on/off the register state stack.
Diffstat (limited to 'tests')
-rw-r--r--tests/Ltest-init-local-signal.c2
1 files changed, 2 insertions, 0 deletions
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;
}