summaryrefslogtreecommitdiffstats
path: root/test/cache_common.c
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 /test/cache_common.c
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 'test/cache_common.c')
-rw-r--r--test/cache_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index 8ccd7e3..f3da908 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -3959,7 +3959,7 @@ unprotect_entry(H5F_t * file_ptr,
entry_ptr->is_dirty = TRUE;
result = H5C_unprotect(file_ptr, H5P_DATASET_XFER_DEFAULT,
- &(types[type]), entry_ptr->addr, (void *)entry_ptr, flags);
+ entry_ptr->addr, (void *)entry_ptr, flags);
if ( ( result < 0 ) ||
( ( entry_ptr->header.is_protected ) &&