diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-07-18 19:42:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 19:42:03 (GMT) |
commit | 59a0d8baef9e0a5acbe57cb8c0a80b5c42251b51 (patch) | |
tree | d256079b98cca353859d1fae78e03048f76a8919 /src/H5Cpkg.h | |
parent | 1903c4b1b0bd227b6713364792d241015b4edb5a (diff) | |
download | hdf5-59a0d8baef9e0a5acbe57cb8c0a80b5c42251b51.zip hdf5-59a0d8baef9e0a5acbe57cb8c0a80b5c42251b51.tar.gz hdf5-59a0d8baef9e0a5acbe57cb8c0a80b5c42251b51.tar.bz2 |
Fix warning in H5C__UPDATE_STATS_FOR_DIRTY_PIN macro (#3259)
Add braces to H5C__UPDATE_STATS_FOR_DIRTY_PIN macro to fix warning
causing Werror Release builds to fail
Diffstat (limited to 'src/H5Cpkg.h')
-rw-r--r-- | src/H5Cpkg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Cpkg.h b/src/H5Cpkg.h index 81e67fe..fbde8a8 100644 --- a/src/H5Cpkg.h +++ b/src/H5Cpkg.h @@ -532,7 +532,7 @@ do { \ #else /* H5C_COLLECT_CACHE_STATS */ #define H5C__RESET_CACHE_ENTRY_STATS(entry_ptr) -#define H5C__UPDATE_STATS_FOR_DIRTY_PIN(cache_ptr, entry_ptr) +#define H5C__UPDATE_STATS_FOR_DIRTY_PIN(cache_ptr, entry_ptr) {} #define H5C__UPDATE_STATS_FOR_UNPROTECT(cache_ptr) #define H5C__UPDATE_STATS_FOR_MOVE(cache_ptr, entry_ptr) #define H5C__UPDATE_STATS_FOR_ENTRY_SIZE_CHANGE(cache_ptr, entry_ptr, new_size) |