diff options
author | Anthony Green <green@moxielogic.com> | 2018-03-27 04:01:37 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2018-03-27 04:01:37 -0400 |
commit | 5c2ca479e726dc2feec43e25475c63361387bf20 (patch) | |
tree | a5ebb128a2f857a97c4e6adffed839843c784cb4 | |
parent | 0081378017c33a4b9b6fbf20efabdd9959d6a48d (diff) | |
download | libffi-5c2ca479e726dc2feec43e25475c63361387bf20.tar.gz |
Remove uninitialized warning. Fix #163.
-rw-r--r-- | testsuite/libffi.call/nested_struct10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/libffi.call/nested_struct10.c b/testsuite/libffi.call/nested_struct10.c index 34a74e7..3cf2b44 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, |