summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-06-23 17:56:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-06-23 17:56:57 (GMT)
commit6fc0bffac6e099b32c2e195207625e66e5b40c05 (patch)
tree792d54e2b6cd48c48db4758f5ac2f64564e4e014 /perform
parent7c3df64cc4742c0316ca81aeef67bd95a5737c70 (diff)
downloadhdf5-6fc0bffac6e099b32c2e195207625e66e5b40c05.zip
hdf5-6fc0bffac6e099b32c2e195207625e66e5b40c05.tar.gz
hdf5-6fc0bffac6e099b32c2e195207625e66e5b40c05.tar.bz2
[svn-r8732] 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 2f7cb92..fc9872d 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*/
}