summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-18 21:34:34 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-18 21:34:34 (GMT)
commitf60e8bb05e3203054e27bf41d0ebc657537736ed (patch)
treea4cf82af6a2dc2c77858c4b49b0838ed4212a5b2 /src/H5VLnative.c
parentb486fd10a44df052c8c2f030ab8c2c25dfa0f8a2 (diff)
downloadhdf5-f60e8bb05e3203054e27bf41d0ebc657537736ed.zip
hdf5-f60e8bb05e3203054e27bf41d0ebc657537736ed.tar.gz
hdf5-f60e8bb05e3203054e27bf41d0ebc657537736ed.tar.bz2
Moved the optional enums to H5VLnative.h and converted to an int
typedef and a set of #defines.
Diffstat (limited to 'src/H5VLnative.c')
-rw-r--r--src/H5VLnative.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/H5VLnative.c b/src/H5VLnative.c
index 90a5ca5..1e78d8e 100644
--- a/src/H5VLnative.c
+++ b/src/H5VLnative.c
@@ -803,13 +803,6 @@ H5VL__native_attr_optional(void H5_ATTR_UNUSED *obj, hid_t H5_ATTR_UNUSED dxpl_i
break;
}
-#else
- /* XXX: This case only exists because this is the only attribute optional
- * value and we can't have empty enums. Delete it when we have another
- * attribute optional enum value.
- */
- case H5VL_NATIVE_ATTR_ITERATE_OLD:
- HGOTO_ERROR(H5E_VOL, H5E_UNSUPPORTED, FAIL, "H5VL_NATIVE_ATTR_ITERATE_OLD is not a valid value when the library is built without deprecated routines")
#endif /* H5_NO_DEPRECATED_SYMBOLS */
default:
@@ -2469,15 +2462,6 @@ H5VL__native_group_optional(void *obj, hid_t H5_ATTR_UNUSED dxpl_id,
break;
}
-#else
- /* XXX: These cases only exist because they are the only group optional
- * values and we can't have empty enums. Delete them when we have
- * non-deprecated group optional enum values.
- */
- case H5VL_NATIVE_GROUP_ITERATE_OLD:
- HGOTO_ERROR(H5E_VOL, H5E_UNSUPPORTED, FAIL, "H5VL_NATIVE_GROUP_ITERATE_OLD is not a valid value when the library is built without deprecated routines")
- case H5VL_NATIVE_GROUP_GET_OBJINFO:
- HGOTO_ERROR(H5E_VOL, H5E_UNSUPPORTED, FAIL, "H5VL_NATIVE_GROUP_GET_OBJINFO is not a valid value when the library is built without deprecated routines")
#endif /* H5_NO_DEPRECATED_SYMBOLS */
default: