diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-01 18:04:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-01 18:04:28 (GMT) |
commit | 90a0d07f099831f5b6070fa647dab86dacc0aaad (patch) | |
tree | 114b3295d95631708d382ede190fc5126a7e179d /src/H5Cmpio.c | |
parent | a49bd13da3feed72cc4e2650d71a224d0cbaad73 (diff) | |
download | hdf5-90a0d07f099831f5b6070fa647dab86dacc0aaad.zip hdf5-90a0d07f099831f5b6070fa647dab86dacc0aaad.tar.gz hdf5-90a0d07f099831f5b6070fa647dab86dacc0aaad.tar.bz2 |
Normalize against incoming page buffering changes.
Diffstat (limited to 'src/H5Cmpio.c')
-rw-r--r-- | src/H5Cmpio.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/H5Cmpio.c b/src/H5Cmpio.c index 8f8b5c6..ebb98b3 100644 --- a/src/H5Cmpio.c +++ b/src/H5Cmpio.c @@ -206,8 +206,8 @@ H5C_apply_candidate_list(H5F_t * f, #if H5C_APPLY_CANDIDATE_LIST__DEBUG char tbl_buf[1024]; #endif /* H5C_APPLY_CANDIDATE_LIST__DEBUG */ - unsigned u; - herr_t ret_value = SUCCEED; /* Return value */ + unsigned u; /* Local index variable */ + herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_NOAPI(FAIL) @@ -345,10 +345,11 @@ H5C_apply_candidate_list(H5F_t * f, } /* end else */ /* Entries marked as collectively accessed and are in the - candidate list to clear from the cache have to be - removed from the coll list. This is OK since the - candidate list is collective and uniform across all - ranks. */ + * candidate list to clear from the cache have to be + * removed from the coll list. This is OK since the + * candidate list is collective and uniform across all + * ranks. + */ if(entry_ptr->coll_access) { entry_ptr->coll_access = FALSE; H5C__REMOVE_FROM_COLL_LIST(cache_ptr, entry_ptr, FAIL) @@ -806,7 +807,7 @@ H5C_construct_candidate_list__clean_cache(H5C_t * cache_ptr) if(space_needed > 0) { /* we have work to do */ H5C_cache_entry_t *entry_ptr; - int nominated_entries_count = 0; + unsigned nominated_entries_count = 0; size_t nominated_entries_size = 0; haddr_t nominated_addr; |