diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-07-19 22:47:59 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-07-19 22:47:59 (GMT) |
commit | d7e8828f70bcc1395e8511e8198d2bacab8f9661 (patch) | |
tree | 30567c79ca101ce809ac3ee2fa598abe43c33b8e /src/H5Otest.c | |
parent | 27775305d6a0d314b65457df5c3b4fcb8a67677a (diff) | |
download | hdf5-d7e8828f70bcc1395e8511e8198d2bacab8f9661.zip hdf5-d7e8828f70bcc1395e8511e8198d2bacab8f9661.tar.gz hdf5-d7e8828f70bcc1395e8511e8198d2bacab8f9661.tar.bz2 |
[svn-r21126] Description:
Clean up some compiler warnings, but mainly an interim checkin on the
path of reducing code coupling in the library by removing most of the places
which were accessing H5F package definitions.
Tested on:
Mac OS X/32 10.6.8 (amazon) w/debug
FreeBSD/32 8.2 (loyalty) w/debug
FreeBSD/64 8.2 (freedom) w/debug
Linux/64 2.6 (heiwa) w/debug
Linux/64 2.6 (ember) w/parallel
Diffstat (limited to 'src/H5Otest.c')
-rw-r--r-- | src/H5Otest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Otest.c b/src/H5Otest.c index 883bfcd..2646dda 100644 --- a/src/H5Otest.c +++ b/src/H5Otest.c @@ -399,6 +399,9 @@ H5O_attr_dense_info_test(hid_t oid, hsize_t *name_count, hsize_t *corder_count) else *corder_count = 0; + /* Reset metadata tag in dxpl_id */ + H5_END_TAG(FAIL); + done: /* Release resources */ if(bt2_name && H5B2_close(bt2_name, H5AC_ind_dxpl_id) < 0) @@ -408,9 +411,6 @@ done: if(oh && H5O_unprotect(loc, H5AC_ind_dxpl_id, oh, H5AC__NO_FLAGS_SET) < 0) HDONE_ERROR(H5E_OHDR, H5E_CANTUNPROTECT, FAIL, "unable to release object header") - /* Reset metadata tag in dxpl_id */ - H5_END_TAG(FAIL); - FUNC_LEAVE_NOAPI(ret_value) } /* H5O_attr_dense_info_test() */ |