mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r22134] Issue 7785 - follow-up checkin. I forgot to initialize a structure in H5D_read as I did in H5D_write.
Tested on jam - simple change.
This commit is contained in:
parent
3682dd9ae0
commit
97483389cb
@ -434,6 +434,7 @@ H5D_read(H5D_t *dataset, hid_t mem_type_id, const H5S_t *mem_space,
|
||||
|| dataset->shared->layout.type == H5D_COMPACT);
|
||||
|
||||
/* Call storage method's I/O initialization routine */
|
||||
HDmemset(&fm, 0, sizeof(H5D_chunk_map_t));
|
||||
if(io_info.layout_ops.io_init && (*io_info.layout_ops.io_init)(&io_info, &type_info, nelmts, file_space, mem_space, &fm) < 0)
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "can't initialize I/O info")
|
||||
io_op_init = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user