summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-06-23 17:57:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-06-23 17:57:16 (GMT)
commit09ee6ebc4ca6284aef70d87a4abd6bd6d43f54f7 (patch)
treebb60773615fc7926781e7f6d1428a59fa0c7e612 /perform
parentd6bb759cbdaa4ef5326cdb4e43a9ca815ccb9710 (diff)
downloadhdf5-09ee6ebc4ca6284aef70d87a4abd6bd6d43f54f7.zip
hdf5-09ee6ebc4ca6284aef70d87a4abd6bd6d43f54f7.tar.gz
hdf5-09ee6ebc4ca6284aef70d87a4abd6bd6d43f54f7.tar.bz2
[svn-r8733] Purpose:
Code cleanup Description: Reduce compiler warnings on SGI IRIX Platforms tested: FreeBSD 4.10 (sleipnir) SGI IRIX6 (Cheryl's machine) Too minor to require full h5committest
Diffstat (limited to 'perform')
-rw-r--r--perform/perf_meta.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/perform/perf_meta.c b/perform/perf_meta.c
index 9609b62..55adc57 100644
--- a/perform/perf_meta.c
+++ b/perform/perf_meta.c
@@ -668,15 +668,17 @@ error:
*/
double retrieve_time(void)
{
+#ifdef H5_HAVE_PARALLEL
if(facc_type == FACC_DEFAULT) {
+#endif /*H5_HAVE_PARALLEL*/
struct timeval t;
gettimeofday(&t, NULL);
return ((double)t.tv_sec + (double)t.tv_usec / 1000000);
- } else {
#ifdef H5_HAVE_PARALLEL
+ } else {
return MPI_Wtime();
-#endif /*H5_HAVE_PARALLEL*/
}
+#endif /*H5_HAVE_PARALLEL*/
}