summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5D.c2
-rw-r--r--src/H5Dint.c7
2 files changed, 1 insertions, 8 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 1ad3fb3..889408d 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -108,7 +108,7 @@ H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id,
H5D_t *dset = NULL; /* New dataset's info */
const H5S_t *space; /* Dataspace for dataset */
hid_t dxpl_id = H5AC_ind_read_dxpl_id; /* dxpl used by library */
- hid_t ret_value = 0; /* Return value */
+ hid_t ret_value; /* Return value */
FUNC_ENTER_API(FAIL)
H5TRACE7("i", "i*siiiii", loc_id, name, type_id, space_id, lcpl_id, dcpl_id,
diff --git a/src/H5Dint.c b/src/H5Dint.c
index e01df8c..3f02a2c 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1659,13 +1659,6 @@ H5D__open_oid(H5D_t *dataset, hid_t dapl_id, hid_t dxpl_id)
|| (dataset->shared->layout.type == H5D_CHUNKED && fill_prop->alloc_time == H5D_ALLOC_TIME_INCR)
|| (dataset->shared->layout.type == H5D_VIRTUAL && fill_prop->alloc_time == H5D_ALLOC_TIME_INCR))
alloc_time_state = 1;
-#ifdef H5_HAVE_PARALLEL
- if((dataset->shared->layout.type == H5D_VIRTUAL) &&
- H5F_HAS_FEATURE(dataset->oloc.file, H5FD_FEAT_HAS_MPI)) {
- fill_prop->alloc_time = H5D_ALLOC_TIME_EARLY;
- alloc_time_state = 1;
- }
-#endif
/* Set revised fill value properties, if they are different from the defaults */
if(H5P_fill_value_cmp(&H5D_def_dset.dcpl_cache.fill, fill_prop, sizeof(H5O_fill_t))) {