diff options
author | Quincey Koziol <koziol@koziol.gov> | 2019-04-25 04:22:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2019-04-25 04:22:28 (GMT) |
commit | 59635ab747f2a9bb83a19ad0d97915bc68ad7129 (patch) | |
tree | 2f376ace5b4f75a9fc54dffea5aa22363e3886dc /src/H5VLnative_dataset.c | |
parent | 0ca6b1305f4a882f760bdf71e6df383e31136e1e (diff) | |
download | hdf5-59635ab747f2a9bb83a19ad0d97915bc68ad7129.zip hdf5-59635ab747f2a9bb83a19ad0d97915bc68ad7129.tar.gz hdf5-59635ab747f2a9bb83a19ad0d97915bc68ad7129.tar.bz2 |
A few minor cleanups
Diffstat (limited to 'src/H5VLnative_dataset.c')
-rw-r--r-- | src/H5VLnative_dataset.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/H5VLnative_dataset.c b/src/H5VLnative_dataset.c index ffa3754..1e3d263 100644 --- a/src/H5VLnative_dataset.c +++ b/src/H5VLnative_dataset.c @@ -47,7 +47,6 @@ H5VL__native_dataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t dcpl_id, hid_t dapl_id, hid_t H5_ATTR_UNUSED dxpl_id, void H5_ATTR_UNUSED **req) { - H5P_genplist_t *plist; /* Property list pointer */ H5G_loc_t loc; /* Object location to insert dataset into */ H5D_t *dset = NULL; /* New dataset's info */ const H5S_t *space; /* Dataspace for dataset */ @@ -55,10 +54,6 @@ H5VL__native_dataset_create(void *obj, const H5VL_loc_params_t *loc_params, FUNC_ENTER_PACKAGE - /* Get the plist structure */ - if(NULL == (plist = (H5P_genplist_t *)H5I_object(dcpl_id))) - HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, NULL, "can't find object for ID") - /* Check arguments */ if(H5G_loc_real(obj, loc_params->obj_type, &loc) < 0) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a file or file object") |