summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-04-02 02:11:51 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-04-02 02:11:51 (GMT)
commit281e8444d862991aeca1a28e42e387a627bc362b (patch)
treeeed88f41b436fca8d2397af73d5c526ce89f7a0a
parent1547feed60a66f54e8348b5c06e1181457195295 (diff)
parenta267c4e5d37f00bf6cff942b57b5a13affaa8bd5 (diff)
downloadhdf5-281e8444d862991aeca1a28e42e387a627bc362b.zip
hdf5-281e8444d862991aeca1a28e42e387a627bc362b.tar.gz
hdf5-281e8444d862991aeca1a28e42e387a627bc362b.tar.bz2
Merge pull request #2484 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
* commit 'a267c4e5d37f00bf6cff942b57b5a13affaa8bd5': Changed default dataset shared struct to initialize hid_t IDs to H5I_INVALID_HID.
-rw-r--r--src/H5Dint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 1624f7b..2539b2c 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -207,6 +207,9 @@ H5D__init_package(void)
/* Reset the "default dataset" information */
HDmemset(&H5D_def_dset, 0, sizeof(H5D_shared_t));
+ H5D_def_dset.type_id = H5I_INVALID_HID;
+ H5D_def_dset.dapl_id = H5I_INVALID_HID;
+ H5D_def_dset.dcpl_id = H5I_INVALID_HID;
/* Get the default dataset creation property list values and initialize the
* default dataset with them.