diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2016-02-08 20:12:07 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2016-02-08 20:12:07 (GMT) |
commit | f1283d59b061cde641f2c24d23f01efbca46ad2f (patch) | |
tree | f60069bc593bb55324b36baa665fa2e644e8baff /src/H5Ddeprec.c | |
parent | 0461830ee3a7eea419fbb6629c47e40c27aaf6f8 (diff) | |
parent | c418bc964d20d4603eaa830051bfab8ebed0f55c (diff) | |
download | hdf5-f1283d59b061cde641f2c24d23f01efbca46ad2f.zip hdf5-f1283d59b061cde641f2c24d23f01efbca46ad2f.tar.gz hdf5-f1283d59b061cde641f2c24d23f01efbca46ad2f.tar.bz2 |
[svn-r29066] - fixing some of the internal usage of dxpls.
- merge from trunk.
Diffstat (limited to 'src/H5Ddeprec.c')
-rw-r--r-- | src/H5Ddeprec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/H5Ddeprec.c b/src/H5Ddeprec.c index f0f4472..1753917 100644 --- a/src/H5Ddeprec.c +++ b/src/H5Ddeprec.c @@ -180,8 +180,6 @@ H5Dopen1(hid_t loc_id, const char *name) { H5D_t *dset = NULL; H5G_loc_t loc; /* Object location of group */ - hid_t dapl_id = H5P_DATASET_ACCESS_DEFAULT; /* dapl to use to open dataset */ - hid_t dxpl_id = H5AC_dxpl_id; /* dxpl to use to open datset */ hid_t ret_value; FUNC_ENTER_API(FAIL) @@ -194,7 +192,7 @@ H5Dopen1(hid_t loc_id, const char *name) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "no name") /* Open the dataset */ - if(NULL == (dset = H5D__open_name(&loc, name, dapl_id, dxpl_id))) + if(NULL == (dset = H5D__open_name(&loc, name, H5P_DATASET_ACCESS_DEFAULT, H5AC_dxpl_id))) HGOTO_ERROR(H5E_DATASET, H5E_CANTOPENOBJ, FAIL, "unable to open dataset") /* Register an atom for the dataset */ |