diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-02-07 03:42:02 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-02-07 03:42:02 (GMT) |
commit | 2fbdfcc4574a141bc668795db9cb48678ba9e336 (patch) | |
tree | ecd2d29cd37ab209faf0111ab2345e3dac9a3030 /src/H5Dint.c | |
parent | b86cc6ea841c24a0513c95b8e6d9aaac209c0fb8 (diff) | |
download | hdf5-2fbdfcc4574a141bc668795db9cb48678ba9e336.zip hdf5-2fbdfcc4574a141bc668795db9cb48678ba9e336.tar.gz hdf5-2fbdfcc4574a141bc668795db9cb48678ba9e336.tar.bz2 |
Modifications made based on comments from pull request.
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r-- | src/H5Dint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c index 9af1689..fc191ff 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -661,6 +661,7 @@ H5D__init_type(H5F_t *file, const H5D_t *dset, hid_t type_id, const H5T_t *type) if(H5T_set_loc(dset->shared->type, file, H5T_LOC_DISK) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "can't set datatype location") + /* Set the version for datatype */ if(H5T_set_version(file, dset->shared->type) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, FAIL, "can't set version of datatype") |