summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-09-19 20:18:30 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-09-19 20:18:30 (GMT)
commit2646f917adb5b2e17404260e433dc3ed7c39a602 (patch)
tree81bdef26f7c5a696fcacd5d824ef8abf97d80d2e /src/H5O.c
parent29b169abb3ab8fcb0c1e75693def8829433dd6a0 (diff)
downloadhdf5-2646f917adb5b2e17404260e433dc3ed7c39a602.zip
hdf5-2646f917adb5b2e17404260e433dc3ed7c39a602.tar.gz
hdf5-2646f917adb5b2e17404260e433dc3ed7c39a602.tar.bz2
Cleaned up feature for dissemination to LLNL:
- Removed support for datatypes. - Commented out support for groups - General change clean-up - Added a list of improvements to BRANCH.txt
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5O.c b/src/H5O.c
index aa30e79..d1806a1 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -1069,18 +1069,14 @@ H5Oclose(hid_t object_id)
/* Get the type of the object and close it in the correct way */
switch(H5I_get_type(object_id)) {
case H5I_GROUP:
+ case H5I_DATATYPE:
case H5I_DATASET:
if(H5I_object(object_id) == NULL)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a valid object")
if(H5I_dec_app_ref(object_id) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTRELEASE, FAIL, "unable to close object")
break;
- case H5I_DATATYPE:
- if(H5I_object(object_id) == NULL)
- HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a valid object")
- if(H5T_close_id(object_id) < 0)
- HGOTO_ERROR(H5E_OHDR, H5E_CANTRELEASE, FAIL, "unable to close object")
- break;
+
case H5I_UNINIT:
case H5I_BADID:
case H5I_FILE: