diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c index 3735b76b41..d8e8eaabeb 100644 --- a/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutexattr_getpshared.c @@ -45,8 +45,8 @@ int test( void ); int test( void ) { - pthread_mutexattr_t attribute; - int pshared; + pthread_mutexattr_t attribute = { 0 }; + int pshared = 0; int result; result = pthread_mutexattr_getpshared( &attribute, &pshared ); |