summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-30 00:02:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-30 00:02:13 (GMT)
commit7c7bedb1ad91b4d0da2a8de0b0fd0a45cb934699 (patch)
tree59fa2c71cd354680db45abdbec59e976d30b5d7d /src/H5Distore.c
parent72cf03cdbdce7b7bdfcac89c644129ca8ec39463 (diff)
downloadhdf5-7c7bedb1ad91b4d0da2a8de0b0fd0a45cb934699.zip
hdf5-7c7bedb1ad91b4d0da2a8de0b0fd0a45cb934699.tar.gz
hdf5-7c7bedb1ad91b4d0da2a8de0b0fd0a45cb934699.tar.bz2
[svn-r1695] Fixed various compiler warnings..
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 44b0ce3..a5bbac7 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -2146,6 +2146,7 @@ H5F_istore_debug(H5F_t *f, haddr_t addr, FILE * stream, intn indent,
*
*-------------------------------------------------------------------------
*/
+#ifdef HAVE_PARALLEL
static herr_t
H5F_istore_get_addr(H5F_t *f, const H5O_layout_t *layout,
const hssize_t offset[], void *_udata/*out*/)
@@ -2161,7 +2162,6 @@ H5F_istore_get_addr(H5F_t *f, const H5O_layout_t *layout,
assert(offset);
assert(udata);
-
for (i=0; i<layout->ndims; i++) {
udata->key.offset[i] = offset[i];
}
@@ -2174,6 +2174,7 @@ H5F_istore_get_addr(H5F_t *f, const H5O_layout_t *layout,
FUNC_LEAVE (FAIL);
}
+#endif /* HAVE_PARALLEL */
/*-------------------------------------------------------------------------