summaryrefslogtreecommitdiffstats
path: root/test/cache_common.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-06-13 03:40:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-06-13 03:40:33 (GMT)
commit65e76690fdafd30540acfd37d82ada689e363e6b (patch)
treeefa73c207aa9923071da29fd7fb38e6bd17b77b4 /test/cache_common.c
parente29904660a01b137e8470a8fe71d2d73a3f76538 (diff)
downloadhdf5-65e76690fdafd30540acfd37d82ada689e363e6b.zip
hdf5-65e76690fdafd30540acfd37d82ada689e363e6b.tar.gz
hdf5-65e76690fdafd30540acfd37d82ada689e363e6b.tar.bz2
[svn-r27199] Description:
Large code cleanups and optimizations, in preparation for the upcoming v3 metadata cache merge. Tested on: MacOSX/64 10.10.3 (amazon) w/serial & parallel Linux/32 2.6.x (jam) w/serial & parallel
Diffstat (limited to 'test/cache_common.c')
-rw-r--r--test/cache_common.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index 12001b2..4abc0f4 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -475,18 +475,14 @@ addr_to_type_and_index(haddr_t addr,
*
*-------------------------------------------------------------------------
*/
-
-herr_t
-check_write_permitted(const H5F_t H5_ATTR_UNUSED *f,
- hid_t H5_ATTR_UNUSED dxpl_id,
- hbool_t *write_permitted_ptr)
+static herr_t
+check_write_permitted(const H5F_t H5_ATTR_UNUSED *f, hbool_t *write_permitted_ptr)
{
+ HDassert(write_permitted_ptr);
- HDassert( write_permitted_ptr );
*write_permitted_ptr = write_permitted;
return(SUCCEED);
-
} /* check_write_permitted() */