summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/time/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time/localtime.c')
-rw-r--r--testsuites/psxtests/psxhdrs/time/localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/time/localtime.c b/testsuites/psxtests/psxhdrs/time/localtime.c
index 674d8e43c2..7f1b4e481d 100644
--- a/testsuites/psxtests/psxhdrs/time/localtime.c
+++ b/testsuites/psxtests/psxhdrs/time/localtime.c
@@ -41,7 +41,7 @@ int test( void );
int test( void )
{
- time_t time;
+ time_t time = { 0 };
struct tm *timestruct;
timestruct = localtime( &time );