summaryrefslogtreecommitdiffstats
path: root/src/H5Pdapl.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/H5Pdapl.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/H5Pdapl.c')
-rw-r--r--src/H5Pdapl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5Pdapl.c b/src/H5Pdapl.c
index b439009..5574fa9 100644
--- a/src/H5Pdapl.c
+++ b/src/H5Pdapl.c
@@ -379,11 +379,9 @@ H5Pget_virtual_view(hid_t plist_id, H5D_vds_view_t *view)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, H5D_VDS_ERROR, "can't find object for ID")
/* Get value from property list */
- if(view) {
- HDassert(0 && "Checking code coverage..."); //VDSINC
+ if(view)
if(H5P_get(plist, H5D_ACS_VDS_VIEW_NAME, view) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, H5D_VDS_ERROR, "unable to get value")
- } //VDSINC
done:
FUNC_LEAVE_API(ret_value)
@@ -525,11 +523,9 @@ H5Pget_virtual_printf_gap(hid_t plist_id, hsize_t *gap_size)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, H5D_VDS_ERROR, "can't find object for ID")
/* Get value from property list */
- if(gap_size) {
- HDassert(0 && "Checking code coverage..."); //VDSINC
+ if(gap_size)
if(H5P_get(plist, H5D_ACS_VDS_PRINTF_GAP_NAME, gap_size) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, H5D_VDS_ERROR, "unable to get value")
- } //VDSINC
done:
FUNC_LEAVE_API(ret_value)