mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
Change position of declaration to top of block
This commit is contained in:
parent
cb12277b5f
commit
4fb75982b1
@ -684,10 +684,11 @@ H5D__get_chunk_storage_size(H5D_t *dset, hid_t dxpl_id, const hsize_t *offset, h
|
||||
if( dset->shared->dcpl_cache.pline.nused > 0 ) {
|
||||
/* Check if the requested chunk exists in the chunk cache */
|
||||
if(UINT_MAX != udata.idx_hint) {
|
||||
H5D_rdcc_ent_t *ent = rdcc->slot[udata.idx_hint];
|
||||
|
||||
/* Sanity checks */
|
||||
HDassert(udata.idx_hint < rdcc->nslots);
|
||||
HDassert(rdcc->slot[udata.idx_hint]);
|
||||
H5D_rdcc_ent_t *ent = rdcc->slot[udata.idx_hint];
|
||||
|
||||
/* If the cached chunk is dirty, it must be flushed to get accurate size */
|
||||
if( ent->dirty == TRUE ) {
|
||||
|
Loading…
Reference in New Issue
Block a user