Skip to content

Commit

Permalink
Fix warning in H5C__UPDATE_STATS_FOR_DIRTY_PIN macro
Browse files Browse the repository at this point in the history
Add braces to H5C__UPDATE_STATS_FOR_DIRTY_PIN macro to fix warning
causing Werror Release builds to fail
  • Loading branch information
jhendersonHDF committed Jul 18, 2023
1 parent 1903c4b commit 0fc6817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5Cpkg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0fc6817

Please sign in to comment.