summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_zoo_writer.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-08-21 18:43:08 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-08-21 18:43:08 (GMT)
commit482ee0765d53e65d0803e758b16e6ba33ea32af1 (patch)
treecbca13637547c3277fc254121d78b337a292cc62 /test/vfd_swmr_zoo_writer.c
parentc68700769fa56b04e4e13f2e5019cc2b93599fd5 (diff)
downloadhdf5-482ee0765d53e65d0803e758b16e6ba33ea32af1.zip
hdf5-482ee0765d53e65d0803e758b16e6ba33ea32af1.tar.gz
hdf5-482ee0765d53e65d0803e758b16e6ba33ea32af1.tar.bz2
Apply Dana's fix for production mode builds.
Diffstat (limited to 'test/vfd_swmr_zoo_writer.c')
-rw-r--r--test/vfd_swmr_zoo_writer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/vfd_swmr_zoo_writer.c b/test/vfd_swmr_zoo_writer.c
index 12db3cd..3eb228a 100644
--- a/test/vfd_swmr_zoo_writer.c
+++ b/test/vfd_swmr_zoo_writer.c
@@ -60,6 +60,7 @@ static const hid_t badhid = H5I_INVALID_HID;
static bool writer;
static void
+#ifndef H5C_COLLECT_CACHE_STATS
print_cache_hits(H5C_t *cache)
{
int i;
@@ -70,6 +71,9 @@ print_cache_hits(H5C_t *cache)
}
dbgf(3, "\n");
}
+#else
+print_cache_hits(H5C_t H5_ATTR_UNUSED *cache) { return; }
+#endif
void
zoo_create_hook(hid_t fid)