summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread/pthread_cond_init.c2
1 files changed, 1 insertions, 1 deletions
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 );