diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-09-26 22:10:54 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-09-26 22:10:54 (GMT) |
commit | deddc7f9558d76a4cebc417af8d426877d5aee7d (patch) | |
tree | e2e43dea685c798debbbe6ae14f7297738c0bfbd /tools/h5repack/h5repack_refs.c | |
parent | e2dfb53df72ca884cb9225e738aef77135f92e68 (diff) | |
download | hdf5-deddc7f9558d76a4cebc417af8d426877d5aee7d.zip hdf5-deddc7f9558d76a4cebc417af8d426877d5aee7d.tar.gz hdf5-deddc7f9558d76a4cebc417af8d426877d5aee7d.tar.bz2 |
[svn-r24205] Merge HDFFV-8513/8522 from trunk (via cmake branch), h5repack UD plugins.
Also warning session fixes.
Tested: CMake local linux
Diffstat (limited to 'tools/h5repack/h5repack_refs.c')
-rw-r--r-- | tools/h5repack/h5repack_refs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5repack/h5repack_refs.c b/tools/h5repack/h5repack_refs.c index 3b2a95b..71615f2 100644 --- a/tools/h5repack/h5repack_refs.c +++ b/tools/h5repack/h5repack_refs.c @@ -859,8 +859,8 @@ static herr_t update_ref_value(hid_t obj_id, H5R_type_t ref_type, void *ref_in, hid_t space_id=-1, ref_obj_id=-1; ref_obj_id = H5Rdereference(obj_id, ref_type, ref_in); - if (ref_obj_id<0) - goto done; + if (ref_obj_id<0) + goto done; ref_obj_name = MapIdToName(ref_obj_id, travt); if (ref_obj_name == NULL) @@ -881,8 +881,8 @@ static herr_t update_ref_value(hid_t obj_id, H5R_type_t ref_type, void *ref_in, done: H5E_BEGIN_TRY { - H5Sclose(space_id); - H5Oclose(ref_obj_id); + H5Sclose(space_id); + H5Oclose(ref_obj_id); } H5E_END_TRY; return ret; |