diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 00:50:24 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-05-01 00:50:24 (GMT) |
commit | b9cf2953a3cc78033493a9105ab25f62f8711be8 (patch) | |
tree | 47a8a671b43304ab45f6bc254cc2c858fa006d64 /src | |
parent | 4ec99fe2b43e34d8f94f3aaadda7915ceb8bfc79 (diff) | |
download | hdf5-b9cf2953a3cc78033493a9105ab25f62f8711be8.zip hdf5-b9cf2953a3cc78033493a9105ab25f62f8711be8.tar.gz hdf5-b9cf2953a3cc78033493a9105ab25f62f8711be8.tar.bz2 |
[svn-r8448] Purpose:
Code optimization
Description:
Remove redundant error checking.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.9 (sleipnir)
too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r-- | src/H5S.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1493,13 +1493,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 (H5S_get_select_npoints(mem_space) != H5S_get_select_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. */ |