diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 00:50:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 00:50:16 (GMT) |
commit | 715316db66cb0d6994ea755e0ce44d677b5ddef3 (patch) | |
tree | cb813018c14204dec08b02cbd8b2de34787fdae3 /src/H5S.c | |
parent | fbc0aaa0f7de33f841c334f3ea8a8f0359891f20 (diff) | |
download | hdf5-715316db66cb0d6994ea755e0ce44d677b5ddef3.zip hdf5-715316db66cb0d6994ea755e0ce44d677b5ddef3.tar.gz hdf5-715316db66cb0d6994ea755e0ce44d677b5ddef3.tar.bz2 |
[svn-r8447] Purpose:
Code optimization
Description:
Remove redundant error checking.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.9 (sleipnir)
too minor too require h5committest
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1511,13 +1511,6 @@ UNUSED H5S_SCALAR==file_space->extent.type)); /* - * We can't do conversion if the source and destination select a - * different number of data points. - */ - if ((*mem_space->select.get_npoints)(mem_space) != (*file_space->select.get_npoints) (file_space)) - HGOTO_ERROR (H5E_DATASPACE, H5E_BADRANGE, NULL, "memory and file data spaces are different sizes"); - - /* * Is this path already present in the data space conversion path table? * If so then return a pointer to that entry. */ |