summaryrefslogtreecommitdiffstats
path: root/src/H5FScache.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-05-19 15:29:04 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:37:21 (GMT)
commit25585400e610c7a358af6ed564ef5938749ba9fd (patch)
treef23359cb3cb82f0c7326d142e206f17de6a8b5e6 /src/H5FScache.c
parent3de98efff8f3a642afddfe485c1f7bc0c10a7a5e (diff)
downloadhdf5-25585400e610c7a358af6ed564ef5938749ba9fd.zip
hdf5-25585400e610c7a358af6ed564ef5938749ba9fd.tar.gz
hdf5-25585400e610c7a358af6ed564ef5938749ba9fd.tar.bz2
Repair a bunch of H5_ATTR_SANITY_CHECK uses that should have been
H5_ATTR_NDEBUG_UNUSED. This really makes me wonder what else I have screwed up in this merge....
Diffstat (limited to 'src/H5FScache.c')
-rw-r--r--src/H5FScache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5FScache.c b/src/H5FScache.c
index d3a2b78..214e6aa 100644
--- a/src/H5FScache.c
+++ b/src/H5FScache.c
@@ -696,7 +696,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5FS__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_SANITY_CHECK len,
+H5FS__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_NDEBUG_UNUSED len,
void *_thing)
{
H5FS_t *fspace = (H5FS_t *)_thing; /* Pointer to the object */
@@ -981,8 +981,8 @@ H5FS__cache_sinfo_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNU
*-------------------------------------------------------------------------
*/
static void *
-H5FS__cache_sinfo_deserialize(const void *_image, size_t H5_ATTR_SANITY_CHECK len, void *_udata,
- hbool_t H5_ATTR_SANITY_CHECK *dirty)
+H5FS__cache_sinfo_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED len, void *_udata,
+ hbool_t H5_ATTR_NDEBUG_UNUSED *dirty)
{
H5FS_sinfo_cache_ud_t *udata = (H5FS_sinfo_cache_ud_t *)_udata; /* User data for callback */
H5FS_t *fspace; /* free space manager */
@@ -1028,9 +1028,9 @@ H5FS__cache_sinfo_deserialize(const void *_image, size_t H5_ATTR_SANITY_CHECK le
/* Check for any serialized sections */
if(fspace->serial_sect_count > 0) {
hsize_t old_tot_sect_count; /* Total section count from header */
- hsize_t H5_ATTR_SANITY_CHECK old_serial_sect_count; /* Total serializable section count from header */
- hsize_t H5_ATTR_SANITY_CHECK old_ghost_sect_count; /* Total ghost section count from header */
- hsize_t H5_ATTR_SANITY_CHECK old_tot_space; /* Total space managed from header */
+ hsize_t H5_ATTR_NDEBUG_UNUSED old_serial_sect_count; /* Total serializable section count from header */
+ hsize_t H5_ATTR_NDEBUG_UNUSED old_ghost_sect_count; /* Total ghost section count from header */
+ hsize_t H5_ATTR_NDEBUG_UNUSED old_tot_space; /* Total space managed from header */
unsigned sect_cnt_size; /* The size of the section size counts */
/* Compute the size of the section counts */