summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-03-23 15:45:39 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-03-23 15:45:39 (GMT)
commit97483389cbaee7033622f2de3b844e8bc3a59054 (patch)
tree3ad39b4c84d9d9ae36adb2ccb0230e111022f279
parent3682dd9ae06c20eea700994e0b4c49c3e29b1448 (diff)
downloadhdf5-97483389cbaee7033622f2de3b844e8bc3a59054.zip
hdf5-97483389cbaee7033622f2de3b844e8bc3a59054.tar.gz
hdf5-97483389cbaee7033622f2de3b844e8bc3a59054.tar.bz2
[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.
-rw-r--r--src/H5Dio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index ef826fe..06e4417 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -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;