summaryrefslogtreecommitdiffstats
path: root/src/H5Gtest.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-19 22:47:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-19 22:47:59 (GMT)
commitd7e8828f70bcc1395e8511e8198d2bacab8f9661 (patch)
tree30567c79ca101ce809ac3ee2fa598abe43c33b8e /src/H5Gtest.c
parent27775305d6a0d314b65457df5c3b4fcb8a67677a (diff)
downloadhdf5-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/H5Gtest.c')
-rw-r--r--src/H5Gtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Gtest.c b/src/H5Gtest.c
index ec55e47..e6da70e 100644
--- a/src/H5Gtest.c
+++ b/src/H5Gtest.c
@@ -428,6 +428,9 @@ H5G_new_dense_info_test(hid_t gid, 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_dxpl_id) < 0)
@@ -435,9 +438,6 @@ done:
if(bt2_corder && H5B2_close(bt2_corder, H5AC_dxpl_id) < 0)
HDONE_ERROR(H5E_SYM, H5E_CANTCLOSEOBJ, FAIL, "can't close v2 B-tree for creation order index")
- /* Reset metadata tag in dxpl_id */
- H5_END_TAG(FAIL);
-
FUNC_LEAVE_NOAPI(ret_value)
} /* H5G_new_dense_info_test() */