From 6b2c5b5da1a0394c9ffa81fc55e73920be9f6bff Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 20 Jun 2022 12:04:43 +1000 Subject: testsuite: Fix gcc 12 warnings --- testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c') diff --git a/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c index 4e7c17f40a..ed718c76d9 100644 --- a/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getstackaddr.c @@ -47,7 +47,7 @@ int test( void ); int test( void ) { - pthread_attr_t attribute; + pthread_attr_t attribute = { 0 }; void *stackaddr; int result; -- cgit v1.2.3