diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-25 07:57:21 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-25 07:57:21 (GMT) |
commit | 2cf9bed55281db81dda891435535d34b4f8bbec3 (patch) | |
tree | df16ca92642f378bac219abc654d216bcea2fcc7 /src/H5timer.c | |
parent | 1dbb83aabd9404f4b626e19193b7472a653ed8f5 (diff) | |
download | hdf5-2cf9bed55281db81dda891435535d34b4f8bbec3.zip hdf5-2cf9bed55281db81dda891435535d34b4f8bbec3.tar.gz hdf5-2cf9bed55281db81dda891435535d34b4f8bbec3.tar.bz2 |
Brings Windows file locking from develop
Diffstat (limited to 'src/H5timer.c')
-rw-r--r-- | src/H5timer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5timer.c b/src/H5timer.c index 61f8b67..ac3a01e 100644 --- a/src/H5timer.c +++ b/src/H5timer.c @@ -14,7 +14,7 @@ /*------------------------------------------------------------------------- * Created: H5timer.c * Aug 21 2006 - * Quincey Koziol <koziol@hdfgroup.org> + * Quincey Koziol * * Purpose: Internal, platform-independent 'timer' support routines. * @@ -582,10 +582,10 @@ H5_timer_get_time_string(double seconds) char *s; /* output string */ /* Used when the time is greater than 59 seconds */ - double days; - double hours; - double minutes; - double remainder_sec; + double days = 0.0; + double hours = 0.0; + double minutes = 0.0; + double remainder_sec = 0.0; /* Extract larger time units from count of seconds */ if (seconds > (double)60.0F) { |