summaryrefslogtreecommitdiffstats
path: root/src/H5B2leaf.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-10 20:41:20 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:55 (GMT)
commit28103327a504047620c8fccd39a649f25d3c4c38 (patch)
treeed352d52c3fef9869f6d14d15ded90c3951fd094 /src/H5B2leaf.c
parent5640d832e40ab627faef705e1c3f223cfb990e24 (diff)
downloadhdf5-28103327a504047620c8fccd39a649f25d3c4c38.zip
hdf5-28103327a504047620c8fccd39a649f25d3c4c38.tar.gz
hdf5-28103327a504047620c8fccd39a649f25d3c4c38.tar.bz2
H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables and
parameters that are unused under some configurations.
Diffstat (limited to 'src/H5B2leaf.c')
-rw-r--r--src/H5B2leaf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2leaf.c b/src/H5B2leaf.c
index b50efad..5ce1a26 100644
--- a/src/H5B2leaf.c
+++ b/src/H5B2leaf.c
@@ -1051,7 +1051,7 @@ H5B2__assert_leaf(const H5B2_hdr_t H5_ATTR_SANITY_CHECK *hdr,
*-------------------------------------------------------------------------
*/
H5_ATTR_PURE herr_t
-H5B2__assert_leaf2(const H5B2_hdr_t *hdr, const H5B2_leaf_t *leaf, const H5B2_leaf_t H5_ATTR_UNUSED *leaf2)
+H5B2__assert_leaf2(const H5B2_hdr_t H5_ATTR_NDEBUG_UNUSED *hdr, const H5B2_leaf_t H5_ATTR_NDEBUG_UNUSED *leaf, const H5B2_leaf_t H5_ATTR_UNUSED *leaf2)
{
/* General sanity checking on node */
HDassert(leaf->nrec <= hdr->node_info->split_nrec);