summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-09-03 21:27:58 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-09-03 21:27:58 (GMT)
commitdceb3f1818e6884f0af429aa44862c169933a8e9 (patch)
tree7f90d35b6d1015166b4bac6a84312d956e7c8be6
parentc839ed338399301b3f861bde5fc8eecb9434462a (diff)
downloadhdf5-dceb3f1818e6884f0af429aa44862c169933a8e9.zip
hdf5-dceb3f1818e6884f0af429aa44862c169933a8e9.tar.gz
hdf5-dceb3f1818e6884f0af429aa44862c169933a8e9.tar.bz2
[svn-r27673] rm unnecessary/unreachable code from H5S_get_select_hyper_nblocks
Tested: ummon
-rw-r--r--src/H5Shyper.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 9fa053b..2215e7a 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -1882,13 +1882,6 @@ H5S_get_select_hyper_nblocks(H5S_t *space)
HDassert(space);
HDassert(space->select.sel_info.hslab->unlim_dim < 0);
- /* Check for unlimited selection */
- if((space->select.sel_info.hslab->unlim_dim >= 0)
- && space->select.sel_info.hslab->app_diminfo[space->select.sel_info.hslab->unlim_dim].count == H5S_UNLIMITED) {
- HDassert(space->select.sel_info.hslab->diminfo_valid);
- HGOTO_DONE(H5S_UNLIMITED)
- } /* end if */
-
/* Check for a "regular" hyperslab selection */
if(space->select.sel_info.hslab->diminfo_valid) {
unsigned u; /* Local index variable */