summaryrefslogtreecommitdiffstats
path: root/src/H5Cpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-06-29 20:22:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-06-29 20:22:30 (GMT)
commitad37464819604c9a7fab98ceff91a21e053eda27 (patch)
tree4ff2e7ab9018e53aabbf1fe3be0ca5825bbaf9c0 /src/H5Cpkg.h
parent89115b11b0ed2f51c6d80305301a60c7cba8c916 (diff)
downloadhdf5-ad37464819604c9a7fab98ceff91a21e053eda27.zip
hdf5-ad37464819604c9a7fab98ceff91a21e053eda27.tar.gz
hdf5-ad37464819604c9a7fab98ceff91a21e053eda27.tar.bz2
[svn-r27296] Description:
Correct error with braces around macro (in production builds), also clean up a few warnings. Tested on: MacOSX/64 10.10.3 (amazon) w/serial, parallel & production Linux/32 2.6 (jam) w/serial & parallel
Diffstat (limited to 'src/H5Cpkg.h')
-rw-r--r--src/H5Cpkg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Cpkg.h b/src/H5Cpkg.h
index 0dad4bb..814387b 100644
--- a/src/H5Cpkg.h
+++ b/src/H5Cpkg.h
@@ -595,7 +595,7 @@ if ( ( (entry_ptr) == NULL ) || \
#define H5C__UPDATE_STATS_FOR_CLEAR(cache_ptr, entry_ptr) \
{ \
(((cache_ptr)->clears)[(entry_ptr)->type->id])++; \
- if ( (entry_ptr)->is_pinned ) \
+ if((entry_ptr)->is_pinned) \
(((cache_ptr)->pinned_clears)[(entry_ptr)->type->id])++; \
((entry_ptr)->clears)++; \
}
@@ -709,9 +709,9 @@ if ( ( (entry_ptr) == NULL ) || \
#define H5C__UPDATE_STATS_FOR_CLEAR(cache_ptr, entry_ptr) \
{ \
- if ( (entry_ptr)->is_pinned ) \
- (((cache_ptr)->pinned_clears)[(entry_ptr)->type->id])++; \
(((cache_ptr)->clears)[(entry_ptr)->type->id])++; \
+ if((entry_ptr)->is_pinned) \
+ (((cache_ptr)->pinned_clears)[(entry_ptr)->type->id])++; \
}
#define H5C__UPDATE_STATS_FOR_FLUSH(cache_ptr, entry_ptr) \