diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-10 02:51:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-10 02:51:05 (GMT) |
commit | aab7fd598fa513f2a4dfc3d0784587cd8ae8cadb (patch) | |
tree | e29f4e3404cccd21f0435abdda78846096288c98 /src/H5S.c | |
parent | 1267f5408e7b515c6bad9b40fd4c9750789496bb (diff) | |
download | hdf5-aab7fd598fa513f2a4dfc3d0784587cd8ae8cadb.zip hdf5-aab7fd598fa513f2a4dfc3d0784587cd8ae8cadb.tar.gz hdf5-aab7fd598fa513f2a4dfc3d0784587cd8ae8cadb.tar.bz2 |
[svn-r12218] Purpose:
Code cleanup
Description:
Remove remnents of references to unimplemented H5S_COMPLEX dataspace.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4 32-bit (heping)
Linux 2.4 64-bit (mir)
Solaris 2.9 (shanti)
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -636,10 +636,6 @@ H5S_extent_copy(H5S_extent_t *dst, const H5S_extent_t *src) dst->max=NULL; break; - case H5S_COMPLEX: - /*void */ - break; - default: assert("unknown data space type" && 0); break; @@ -832,9 +828,6 @@ H5S_get_npoints_max(const H5S_t *ds) } break; - case H5S_COMPLEX: - HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, 0, "complex data spaces are not supported yet"); - default: assert("unknown data space class" && 0); HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, 0, "internal error (unknown data space class)"); @@ -919,9 +912,6 @@ H5S_get_simple_extent_ndims(const H5S_t *ds) ret_value = ds->extent.rank; break; - case H5S_COMPLEX: - HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not supported yet"); - default: assert("unknown data space class" && 0); HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "internal error (unknown data space class)"); @@ -1023,9 +1013,6 @@ H5S_get_simple_extent_dims(const H5S_t *ds, hsize_t dims[], hsize_t max_dims[]) } break; - case H5S_COMPLEX: - HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not supported yet"); - default: assert("unknown data space class" && 0); HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "internal error (unknown data space class)"); @@ -1067,9 +1054,6 @@ H5S_modify(H5O_loc_t *loc, const H5S_t *ds, hbool_t update_time, hid_t dxpl_id) HGOTO_ERROR(H5E_DATASPACE, H5E_CANTINIT, FAIL, "can't update simple dataspace message") break; - case H5S_COMPLEX: - HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex dataspaces are not implemented yet") - default: HDassert("unknown dataspace class" && 0); break; @@ -1121,9 +1105,6 @@ H5S_append(H5F_t *f, hid_t dxpl_id, struct H5O_t *oh, const H5S_t *ds, HGOTO_ERROR(H5E_DATASPACE, H5E_CANTINIT, FAIL, "can't update simple data space message"); break; - case H5S_COMPLEX: - HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not implemented yet"); - default: assert("unknown data space class" && 0); break; |