summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-07-15 21:01:03 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-07-15 21:01:03 (GMT)
commitbd28a396d05511e53c44beb1bf65dcdca4545aa0 (patch)
tree4740d2213056c7a7e05b777cdd677625c7457a9c /src
parent5065c139c78c1ff9d8c21f98a46d969a31f254be (diff)
downloadhdf5-bd28a396d05511e53c44beb1bf65dcdca4545aa0.zip
hdf5-bd28a396d05511e53c44beb1bf65dcdca4545aa0.tar.gz
hdf5-bd28a396d05511e53c44beb1bf65dcdca4545aa0.tar.bz2
[svn-r27398] Fixed potential issue layouts with compilers that do not support designated
initializers. Tested: ummon
Diffstat (limited to 'src')
-rw-r--r--src/H5Pdcpl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index a900eb0..39e8e77 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -1297,9 +1297,12 @@ H5P__init_def_layout(void)
FUNC_ENTER_STATIC_NOERR
/* Initialize the default layout info for non-contigous layouts */
+ H5D_def_layout_compact_g.storage.type = H5D_COMPACT;
H5D_def_layout_compact_g.storage.u.compact = def_store_compact;
H5D_def_layout_chunk_g.u.chunk = def_layout_chunk;
+ H5D_def_layout_chunk_g.storage.type = H5D_CHUNKED;
H5D_def_layout_chunk_g.storage.u.chunk = def_store_chunk;
+ H5D_def_layout_virtual_g.storage.type = H5D_VIRTUAL;
H5D_def_layout_virtual_g.storage.u.virt = def_store_virtual;
/* Note that we've initialized the default values */