summaryrefslogtreecommitdiffstats
path: root/src/H5Doh.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-11-23 20:52:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-11-23 20:52:33 (GMT)
commite3c415fe5a345a6a42001b60c1b0e0f4a2ff9ed3 (patch)
tree91b76174913b0e5caa4b40fa27bd16c6cc4bb122 /src/H5Doh.c
parent8830acb2cbc9384978c22a3e01f4dd15276290e5 (diff)
downloadhdf5-e3c415fe5a345a6a42001b60c1b0e0f4a2ff9ed3.zip
hdf5-e3c415fe5a345a6a42001b60c1b0e0f4a2ff9ed3.tar.gz
hdf5-e3c415fe5a345a6a42001b60c1b0e0f4a2ff9ed3.tar.bz2
[svn-r28452] Description:
Normalization changes against revise_chunks branch. Tested on: MacOSX/64 10.11.1 (amazon) w/serial & parallel (h5committest forthcoming)
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r--src/H5Doh.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c
index f8a733d..db65479 100644
--- a/src/H5Doh.c
+++ b/src/H5Doh.c
@@ -458,8 +458,8 @@ static herr_t
H5O__dset_flush(H5G_loc_t *obj_loc, hid_t dxpl_id)
{
H5D_t *dset = NULL; /* Dataset opened */
- H5O_type_t obj_type; /* Type of object at location */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5O_type_t obj_type; /* Type of object at location */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -469,7 +469,6 @@ H5O__dset_flush(H5G_loc_t *obj_loc, hid_t dxpl_id)
/* Check that the object found is the correct type */
if(H5O_obj_type(obj_loc->oloc, &obj_type, dxpl_id) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get object type")
-
if(obj_type != H5O_TYPE_DATASET)
HGOTO_ERROR(H5E_DATASET, H5E_BADTYPE, FAIL, "not a dataset")