diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c index 7023c29fce..7b97a7859c 100644 --- a/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c +++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_getscope.c @@ -42,8 +42,8 @@ int test( void ); int test( void ) { - pthread_attr_t attr; - int contentionscope; + pthread_attr_t attr = { 0 }; + int contentionscope = 0; int result; result = pthread_attr_getscope( &attr, &contentionscope ); |