diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-08-19 16:21:27 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-08-19 16:21:27 (GMT) |
commit | 6909d2033f0d7d87c9fc03dfc778ea3e9437032a (patch) | |
tree | eb5fdf5bb781fa955f2acfbc69d724c2647206dd /src/H5Olayout.c | |
parent | 69e2f53edbfba4bee9865cec3df78c0cbab42182 (diff) | |
download | hdf5-6909d2033f0d7d87c9fc03dfc778ea3e9437032a.zip hdf5-6909d2033f0d7d87c9fc03dfc778ea3e9437032a.tar.gz hdf5-6909d2033f0d7d87c9fc03dfc778ea3e9437032a.tar.bz2 |
[svn-r27527] Add tests to hit code coverage assertions in H5Olayout.c.
Fix issue in VDS delete routine.
Tested: ummon
Diffstat (limited to 'src/H5Olayout.c')
-rw-r--r-- | src/H5Olayout.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/H5Olayout.c b/src/H5Olayout.c index c462c80..6018539 100644 --- a/src/H5Olayout.c +++ b/src/H5Olayout.c @@ -578,8 +578,6 @@ H5O_layout_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, c HGOTO_ERROR(H5E_OHDR, H5E_CANTINSERT, FAIL, "unable to insert virtual dataset heap block") } /* end if */ - HDassert((mesg->storage.u.virt.list_nused > 0) && "checking code coverage...");//VDSINC - /* Heap information */ H5F_addr_encode(f, &p, mesg->storage.u.virt.serial_list_hobjid.addr); UINT32ENCODE(p, mesg->storage.u.virt.serial_list_hobjid.idx); @@ -817,7 +815,6 @@ H5O_layout_delete(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, void *_mesg) break; case H5D_VIRTUAL: /* Virtual dataset */ - HDassert(0 && "checking code coverage...");//VDSINC /* Free the file space virtual dataset */ if(H5D__virtual_delete(f, dxpl_id, &mesg->storage) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTFREE, FAIL, "unable to free raw data") |