summaryrefslogtreecommitdiffstats
path: root/test/cache_common.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-12-11 08:28:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-12-11 08:28:05 (GMT)
commitfeb9d1f6761b541a388100d04ec56a9b88a7e462 (patch)
treec79f3b73f886cb9c7c27926c77d4f951bc460ef7 /test/cache_common.c
parentcc6eb939f4dec06e234835acbb5b3bc269b228c5 (diff)
downloadhdf5-feb9d1f6761b541a388100d04ec56a9b88a7e462.zip
hdf5-feb9d1f6761b541a388100d04ec56a9b88a7e462.tar.gz
hdf5-feb9d1f6761b541a388100d04ec56a9b88a7e462.tar.bz2
Bring over changes from revise_chunks that cleanup recent SWMR changes from
code review feedback.
Diffstat (limited to 'test/cache_common.c')
-rw-r--r--test/cache_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index c0bee24..f387f05 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -721,8 +721,8 @@ notify_get_initial_load_size(void *udata, size_t *image_length)
*-------------------------------------------------------------------------
*/
static herr_t
-get_final_load_size(const void *image, size_t image_len, void *udata,
- size_t *actual_len, int32_t entry_type)
+get_final_load_size(const void H5_ATTR_UNUSED *image, size_t H5_ATTR_UNUSED image_len,
+ void *udata, size_t *actual_len, int32_t entry_type)
{
test_entry_t *entry;
test_entry_t *base_addr;
@@ -3906,8 +3906,8 @@ move_entry(H5C_t * cache_ptr,
HDassert( entry_ptr->type == type );
HDassert( entry_ptr == entry_ptr->self );
HDassert( entry_ptr->cache_ptr == cache_ptr );
- HDassert( !(entry_ptr->is_protected) );
- HDassert( !(entry_ptr->header.is_protected) );
+ HDassert( !entry_ptr->is_read_only );
+ HDassert( !entry_ptr->header.is_read_only );
if ( entry_ptr->at_main_addr && !main_addr ) {