summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-08-20 16:38:05 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-08-20 16:38:05 (GMT)
commite3bea916863c05b93c1a9277edd7fb91c95805c2 (patch)
treeca288c2a4955ecbaa18a2a5a6ee6dde0e34207c1 /src/H5Pdcpl.c
parentb1dcfc7a84e5e804c84426fc6fa10d323c7f3b24 (diff)
downloadhdf5-e3bea916863c05b93c1a9277edd7fb91c95805c2.zip
hdf5-e3bea916863c05b93c1a9277edd7fb91c95805c2.tar.gz
hdf5-e3bea916863c05b93c1a9277edd7fb91c95805c2.tar.bz2
[svn-r27538] Add tests to cover remaining code coverage assertions in src directory except
for those in H5Doh.c and H5Shyper.c. Tested: ummon
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index b70004b..ebc3919 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -1868,7 +1868,6 @@ H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name,
} /* end if */
else if(layout.storage.u.virt.list_nused
== layout.storage.u.virt.list_nalloc) {
- HDassert((layout.storage.u.virt.list_nused > 0) && "checking code coverage...");//VDSINC
/* Double size of entry list. Make sure to zero out new memory. */
if(NULL == (layout.storage.u.virt.list = (H5O_storage_virtual_ent_t *)H5MM_realloc(layout.storage.u.virt.list, (size_t)2 * layout.storage.u.virt.list_nalloc * sizeof(H5O_storage_virtual_ent_t))))
HGOTO_ERROR(H5E_PLIST, H5E_RESOURCE, FAIL, "can't reallocate virtual dataset mapping list")