summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
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 /src/H5Distore.c
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 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 9d30387..4abf0e1 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -1694,7 +1694,9 @@ H5D_istore_readvv(H5F_t *f, const struct H5D_dxpl_cache_t *dxpl_cache, hid_t dxp
{
H5D_istore_ud1_t udata; /*B-tree pass-through */
haddr_t chunk_addr; /* Chunk address on disk */
+#ifndef NDEBUG
size_t u; /* Local index variables */
+#endif
ssize_t ret_value; /* Return value */
FUNC_ENTER_NOAPI(H5D_istore_readvv, FAIL);
@@ -1797,7 +1799,9 @@ H5D_istore_writevv(H5F_t *f, const struct H5D_dxpl_cache_t *dxpl_cache,
{
H5D_istore_ud1_t udata; /*B-tree pass-through */
haddr_t chunk_addr; /* Chunk address on disk */
+#ifndef NDEBUG
size_t u; /* Local index variables */
+#endif
ssize_t ret_value; /* Return value */
FUNC_ENTER_NOAPI(H5D_istore_writevv, FAIL);
@@ -2023,7 +2027,7 @@ H5D_istore_get_addr(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
unsigned u;
haddr_t ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5D_istore_get_addr);
+ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5D_istore_get_addr);
assert(f);
assert(layout && (layout->u.chunk.ndims > 0));