diff options
Diffstat (limited to 'src/H5HFcache.c')
-rw-r--r-- | src/H5HFcache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5HFcache.c b/src/H5HFcache.c index 1e6c1ed..8b59876 100644 --- a/src/H5HFcache.c +++ b/src/H5HFcache.c @@ -698,12 +698,13 @@ H5HF_cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, HDassert(dblock); if(dblock->cache_info.is_dirty) { - H5HF_hdr_t *hdr; /* Shared fractal heap information */ + H5HF_hdr_t *hdr; /* Shared fractal heap information */ uint8_t *p; /* Pointer into raw data buffer */ /* Get the pointer to the shared heap header */ hdr = dblock->hdr; + HDassert(dblock->blk); p = dblock->blk; /* Magic number */ |