summaryrefslogtreecommitdiffstats
path: root/src/H5Dvirtual.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-08-18 20:45:46 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-08-18 20:45:46 (GMT)
commit69e2f53edbfba4bee9865cec3df78c0cbab42182 (patch)
tree55e66377965fe469dc7f87d7e138c866e19bc812 /src/H5Dvirtual.c
parent1eff550df3e20882f438b9fe54a34b2601041a31 (diff)
downloadhdf5-69e2f53edbfba4bee9865cec3df78c0cbab42182.zip
hdf5-69e2f53edbfba4bee9865cec3df78c0cbab42182.tar.gz
hdf5-69e2f53edbfba4bee9865cec3df78c0cbab42182.tar.bz2
[svn-r27520] Add new test for all 3 selection types in the same VDS.
Minor cleanup in the tests. Tested: ummon
Diffstat (limited to 'src/H5Dvirtual.c')
-rw-r--r--src/H5Dvirtual.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/H5Dvirtual.c b/src/H5Dvirtual.c
index 0d15685..638ad6d 100644
--- a/src/H5Dvirtual.c
+++ b/src/H5Dvirtual.c
@@ -1534,10 +1534,8 @@ H5D__virtual_set_extent_unlim(const H5D_t *dset, hid_t dxpl_id)
for(i = 0; i < (size_t)rank; i++) {
if(new_dims[i] == HSIZE_UNDEF)
new_dims[i] = curr_dims[i];
- else if(new_dims[i] < storage->min_dims[i]) {
- HDassert(0 && "Checking code coverage..."); //VDSINC
+ else if(new_dims[i] < storage->min_dims[i])
new_dims[i] = storage->min_dims[i];
- } //VDSINC
if(new_dims[i] != curr_dims[i])
changed = TRUE;
} /* end for */
@@ -2264,10 +2262,8 @@ H5D__virtual_pre_io(H5D_io_info_t *io_info,
/* If the source dataset is not open, mark the selected elements
* as zero so projected_mem_space is freed */
- if(!storage->list[i].source_dset.dset) {
- HDassert(0 && "Checking code coverage..."); //VDSINC
+ if(!storage->list[i].source_dset.dset)
select_nelmts = (hssize_t)0;
- } //VDSINC
} /* end if */
/* If there are not elements selected in this mapping, free
@@ -2281,7 +2277,6 @@ H5D__virtual_pre_io(H5D_io_info_t *io_info,
*tot_nelmts += (hsize_t)select_nelmts;
} /* end if */
else {
- HDassert(0 && "Checking code coverage..."); //VDSINC
/* If there is no clipped_dim_virtual, this must be an unlimited
* selection whose dataset was not found in the last call to
* H5Dget_space(). Do not attempt to open it as this might