mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
Changed default dataset shared struct to initialize hid_t IDs to
H5I_INVALID_HID.
This commit is contained in:
parent
1547feed60
commit
a267c4e5d3
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user