diff options
author | Richard Warren <Richard.Warren@hdfgroup.org> | 2018-05-04 12:05:53 (GMT) |
---|---|---|
committer | Richard Warren <Richard.Warren@hdfgroup.org> | 2018-05-04 12:05:53 (GMT) |
commit | 16b58c57d6d1e062134ea4bbfe9042b7651b6ce1 (patch) | |
tree | 7b4bc6635cdffac23160246d318a2f2221d73787 /src | |
parent | 05c3f1e20f009b58f4643f9ec0b970cdb41b0cef (diff) | |
download | hdf5-16b58c57d6d1e062134ea4bbfe9042b7651b6ce1.zip hdf5-16b58c57d6d1e062134ea4bbfe9042b7651b6ce1.tar.gz hdf5-16b58c57d6d1e062134ea4bbfe9042b7651b6ce1.tar.bz2 |
Removed the two places where I previously overrode the default fill.alloc_time
Diffstat (limited to 'src')
-rw-r--r-- | src/H5D.c | 7 | ||||
-rw-r--r-- | src/H5Pint.c | 3 |
2 files changed, 1 insertions, 9 deletions
@@ -144,10 +144,6 @@ H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, if(NULL == (dset = H5D__create_named(&loc, name, type_id, space, lcpl_id, dcpl_id, dapl_id, dxpl_id))) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to create dataset") - if (H5F_HAS_FEATURE(loc.oloc->file, H5FD_FEAT_ALLOCATE_EARLY)) { - dset->shared->dcpl_cache.fill.alloc_time = H5D_ALLOC_TIME_EARLY; - } - if((ret_value = H5I_register(H5I_DATASET, dset, TRUE)) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTREGISTER, FAIL, "unable to register dataset") @@ -298,9 +294,6 @@ H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id) if(NULL == (dset = H5D__open_name(&loc, name, dapl_id, dxpl_id))) HGOTO_ERROR(H5E_DATASET, H5E_CANTOPENOBJ, FAIL, "unable to open dataset") - if(H5F_HAS_FEATURE(loc.oloc->file, H5FD_FEAT_ALLOCATE_EARLY)) - dset->shared->dcpl_cache.fill.alloc_time = H5D_ALLOC_TIME_EARLY; - /* Register an atom for the dataset */ if((ret_value = H5I_register(H5I_DATASET, dset, TRUE)) < 0) HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "can't register dataset atom") diff --git a/src/H5Pint.c b/src/H5Pint.c index 1d52f69..66f3eb1 100644 --- a/src/H5Pint.c +++ b/src/H5Pint.c @@ -3419,9 +3419,8 @@ H5P_cmp_prop(const H5P_genprop_t *prop1, const H5P_genprop_t *prop2) if(prop1->value != NULL && prop2->value == NULL) HGOTO_DONE(1); if(prop1->value != NULL) { /* Call comparison routine */ - if((cmp_value = prop1->cmp(prop1->value, prop2->value, prop1->size)) != 0) { + if((cmp_value = prop1->cmp(prop1->value, prop2->value, prop1->size)) != 0) HGOTO_DONE(cmp_value); - } } /* end if */ done: |