diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-27 04:53:33 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-27 04:53:33 (GMT) |
commit | 331f96e1e6edccfb1dc8c20d9cb7478d52778e72 (patch) | |
tree | 98cc1cc1641b9f6413302e931f8da907aad5d65a /src | |
parent | d9f3f4f76ab82908144f54b48694a0e3ce86b816 (diff) | |
download | hdf5-331f96e1e6edccfb1dc8c20d9cb7478d52778e72.zip hdf5-331f96e1e6edccfb1dc8c20d9cb7478d52778e72.tar.gz hdf5-331f96e1e6edccfb1dc8c20d9cb7478d52778e72.tar.bz2 |
Removes unused H5I_SPACE_SEL_ITER value from H5I_type_t
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Fint.c | 1 | ||||
-rw-r--r-- | src/H5Gloc.c | 3 | ||||
-rw-r--r-- | src/H5Gname.c | 1 | ||||
-rw-r--r-- | src/H5Gtest.c | 1 | ||||
-rw-r--r-- | src/H5I.c | 1 | ||||
-rw-r--r-- | src/H5Ipublic.h | 1 | ||||
-rw-r--r-- | src/H5O.c | 1 | ||||
-rw-r--r-- | src/H5Oflush.c | 1 | ||||
-rw-r--r-- | src/H5Oint.c | 1 | ||||
-rw-r--r-- | src/H5T.c | 1 | ||||
-rw-r--r-- | src/H5trace.c | 8 |
11 files changed, 0 insertions, 20 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 8b9d923..eaa5a02 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -570,7 +570,6 @@ H5F__get_objects_cb(void *obj_ptr, hid_t obj_id, void *key) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5_ITER_ERROR, "unknown or invalid data object") diff --git a/src/H5Gloc.c b/src/H5Gloc.c index 51728ca..e672c67 100644 --- a/src/H5Gloc.c +++ b/src/H5Gloc.c @@ -234,9 +234,6 @@ H5G_loc(hid_t loc_id, H5G_loc_t *loc) case H5I_VFL: HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "unable to get group location of a virtual file driver (VFD)") - case H5I_SPACE_SEL_ITER: - HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "unable to get group location of a dataspace selection iterator") - case H5I_REFERENCE: HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "unable to get group location of reference") diff --git a/src/H5Gname.c b/src/H5Gname.c index c7e2cab..263bc11 100644 --- a/src/H5Gname.c +++ b/src/H5Gname.c @@ -835,7 +835,6 @@ H5G_name_replace_cb(void *obj_ptr, hid_t obj_id, void *key) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "unknown data object") diff --git a/src/H5Gtest.c b/src/H5Gtest.c index 654b0af..bea7780 100644 --- a/src/H5Gtest.c +++ b/src/H5Gtest.c @@ -615,7 +615,6 @@ H5G__user_path_test(hid_t obj_id, char *user_path, size_t *user_path_len, unsign case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "unknown data object type") @@ -2157,7 +2157,6 @@ H5I__id_dump_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: break; /* Other types of IDs are not stored in files */ diff --git a/src/H5Ipublic.h b/src/H5Ipublic.h index 8eb6e6f..7acca3a 100644 --- a/src/H5Ipublic.h +++ b/src/H5Ipublic.h @@ -49,7 +49,6 @@ typedef enum H5I_type_t { H5I_ERROR_CLASS, /* type ID for error classes */ H5I_ERROR_MSG, /* type ID for error messages */ H5I_ERROR_STACK, /* type ID for error stacks */ - H5I_SPACE_SEL_ITER, /* type ID for dataspace selection iterator */ H5I_NTYPES /* number of library types, MUST BE LAST! */ } H5I_type_t; @@ -941,7 +941,6 @@ H5Oclose(hid_t object_id) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_ARGS, H5E_CANTRELEASE, FAIL, "not a valid file object ID (dataset, group, or datatype)") diff --git a/src/H5Oflush.c b/src/H5Oflush.c index 82b34ce..b7bbdbe 100644 --- a/src/H5Oflush.c +++ b/src/H5Oflush.c @@ -450,7 +450,6 @@ H5O_refresh_metadata_reopen(hid_t oid, H5G_loc_t *obj_loc, hbool_t start_swmr) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_OHDR, H5E_BADTYPE, FAIL, "not a valid file object ID (dataset, group, or datatype)") diff --git a/src/H5Oint.c b/src/H5Oint.c index 8a641bf..187cacf 100644 --- a/src/H5Oint.c +++ b/src/H5Oint.c @@ -1837,7 +1837,6 @@ H5O_get_loc(hid_t object_id) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_OHDR, H5E_BADTYPE, NULL, "invalid object type") @@ -1703,7 +1703,6 @@ H5Tcopy(hid_t obj_id) case H5I_ERROR_CLASS: case H5I_ERROR_MSG: case H5I_ERROR_STACK: - case H5I_SPACE_SEL_ITER: case H5I_NTYPES: default: HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "not a datatype or dataset") diff --git a/src/H5trace.c b/src/H5trace.c index cf14565..89685ad 100644 --- a/src/H5trace.c +++ b/src/H5trace.c @@ -1364,10 +1364,6 @@ H5_trace(const double *returning, const char *func, const char *type, ...) HDfprintf(out, "%ld (err stack)", (long)obj); break; - case H5I_SPACE_SEL_ITER: - HDfprintf(out, "%ld (dataspace selection iterator)", (long)obj); - break; - case H5I_NTYPES: HDfprintf(out, "%ld (ntypes - error)", (long)obj); break; @@ -1549,10 +1545,6 @@ H5_trace(const double *returning, const char *func, const char *type, ...) HDfprintf(out, "H5I_ERROR_STACK"); break; - case H5I_SPACE_SEL_ITER: - HDfprintf(out, "H5I_SPACE_SEL_ITER"); - break; - case H5I_NTYPES: HDfprintf(out, "H5I_NTYPES"); break; |