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_cond_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c') diff --git a/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c index 86f74d7cff..b7e2e2ad34 100644 --- a/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c @@ -43,7 +43,7 @@ int test( void ); int test( void ) { pthread_cond_t cond = PTHREAD_COND_INITIALIZER; - pthread_condattr_t attribute; + pthread_condattr_t attribute = { 0 }; int result; result = pthread_cond_init( &cond, &attribute ); -- cgit v1.2.3