summaryrefslogtreecommitdiffstats
path: root/src/H5Dvirtual.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-12-16 03:02:45 (GMT)
committerGitHub <noreply@github.com>2022-12-16 03:02:45 (GMT)
commit3aaba7378b45f5551476be603fe9f100b487150b (patch)
tree6ecc55e6321b9b868d92e913ceefd16d5aa03d32 /src/H5Dvirtual.c
parent2c94c573d6b70417254f8a425f424e5aebaafbd0 (diff)
downloadhdf5-3aaba7378b45f5551476be603fe9f100b487150b.zip
hdf5-3aaba7378b45f5551476be603fe9f100b487150b.tar.gz
hdf5-3aaba7378b45f5551476be603fe9f100b487150b.tar.bz2
Adds 'unused' hints for MDS io_info parameters (#2301) (#2306)
* Adds 'unused' hints for MDS io_info parameters * Committing clang-format changes * Fix issue with formatter * Committing clang-format changes * Final fix for formatter * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Dvirtual.c')
-rw-r--r--src/H5Dvirtual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dvirtual.c b/src/H5Dvirtual.c
index ee16a17..c40642f 100644
--- a/src/H5Dvirtual.c
+++ b/src/H5Dvirtual.c
@@ -2785,7 +2785,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5D__virtual_read(H5D_io_info_t *io_info, H5D_dset_io_info_t *dset_info)
+H5D__virtual_read(H5D_io_info_t H5_ATTR_NDEBUG_UNUSED *io_info, H5D_dset_io_info_t *dset_info)
{
H5O_storage_virtual_t *storage; /* Convenient pointer into layout struct */
hsize_t tot_nelmts; /* Total number of elements mapped to mem_space */
@@ -2988,7 +2988,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5D__virtual_write(H5D_io_info_t *io_info, H5D_dset_io_info_t *dset_info)
+H5D__virtual_write(H5D_io_info_t H5_ATTR_NDEBUG_UNUSED *io_info, H5D_dset_io_info_t *dset_info)
{
H5O_storage_virtual_t *storage; /* Convenient pointer into layout struct */
hsize_t tot_nelmts; /* Total number of elements mapped to mem_space */