From bd28a396d05511e53c44beb1bf65dcdca4545aa0 Mon Sep 17 00:00:00 2001 From: Neil Fortner Date: Wed, 15 Jul 2015 16:01:03 -0500 Subject: [svn-r27398] Fixed potential issue layouts with compilers that do not support designated initializers. Tested: ummon --- src/H5Pdcpl.c | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- cgit v0.12