diff options
author | David Young <dyoung@hdfgroup.org> | 2020-08-21 18:44:27 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-08-21 18:44:27 (GMT) |
commit | 563665c894c5cbe292907c609cc058b224f6ce57 (patch) | |
tree | 47db5be394aafe14dd0de5fca748ceea6dbf2f7e /test | |
parent | 0bbf92da01ec9d19bd498a9eb7f92c46b4b469ac (diff) | |
parent | 7af1fa67d6d2e441c72504ed9144576a797e1e3a (diff) | |
download | hdf5-563665c894c5cbe292907c609cc058b224f6ce57.zip hdf5-563665c894c5cbe292907c609cc058b224f6ce57.tar.gz hdf5-563665c894c5cbe292907c609cc058b224f6ce57.tar.bz2 |
Merge branch 'feature/vfd_swmr' into multi
Diffstat (limited to 'test')
-rw-r--r-- | test/vfd_swmr_vlstr_writer.c | 4 | ||||
-rw-r--r-- | test/vfd_swmr_zoo_writer.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/vfd_swmr_vlstr_writer.c b/test/vfd_swmr_vlstr_writer.c index cb52fcb..d635b7a 100644 --- a/test/vfd_swmr_vlstr_writer.c +++ b/test/vfd_swmr_vlstr_writer.c @@ -96,6 +96,7 @@ create_vl_dset(hid_t file, hid_t type, hid_t space, const char *name) } static void +#ifndef H5C_COLLECT_CACHE_STATS print_cache_hits(H5C_t *cache) { int i; @@ -106,6 +107,9 @@ print_cache_hits(H5C_t *cache) } dbgf(3, "\n"); } +#else +print_cache_hits(H5C_t H5_ATTR_UNUSED *cache) { return; } +#endif static void usage(const char *progname) 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) |