diff options
Diffstat (limited to 'test/vfd_swmr_zoo_writer.c')
-rw-r--r-- | test/vfd_swmr_zoo_writer.c | 4 |
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) |