summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/time/ctime_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time/ctime_r.c')
-rw-r--r--testsuites/psxtests/psxhdrs/time/ctime_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/time/ctime_r.c b/testsuites/psxtests/psxhdrs/time/ctime_r.c
index b973a504ae..30f1285d0a 100644
--- a/testsuites/psxtests/psxhdrs/time/ctime_r.c
+++ b/testsuites/psxtests/psxhdrs/time/ctime_r.c
@@ -43,7 +43,7 @@ int test( void )
{
char *buffer_pointer;
char buffer[ 80 ];
- time_t time;
+ time_t time = { 0 };
buffer_pointer = ctime_r( &time, buffer );