From 5c2ca479e726dc2feec43e25475c63361387bf20 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Tue, 27 Mar 2018 04:01:37 -0400 Subject: [PATCH] Remove uninitialized warning. Fix #163. --- testsuite/libffi.call/nested_struct10.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/libffi.call/nested_struct10.c b/testsuite/libffi.call/nested_struct10.c index 34a74e71..3cf2b44a 100644 --- a/testsuite/libffi.call/nested_struct10.c +++ b/testsuite/libffi.call/nested_struct10.c @@ -32,6 +32,7 @@ static B B_fn(struct A b2, struct B b3, struct C b4) result.x.a = b2.a + b3.x.a + b3.z + b4.d; result.x.b = b2.b + b3.x.b + b3.y + b4.e; result.y = b2.b + b3.x.b + b4.e; + result.z = 0; printf("%d %d %d %d %d %d %d %d: %d %d %d\n", (int)b2.a, b2.b, (int)b3.x.a, b3.x.b, b3.y, b3.z, (int)b4.d, b4.e,