mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
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
This commit is contained in:
parent
1903c4b1b0
commit
59a0d8baef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user