summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-09-16 14:15:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-09-16 14:15:13 (GMT)
commit9f028ea4589cfd21ce610050c75895ed69b2ee08 (patch)
tree9eea3e34c3604d6506d6b2d3ee9af6244e659ec0 /src/H5Tconv.c
parent6fb5f819a51f27ffc44b21e2d0e44808ba71da17 (diff)
downloadhdf5-9f028ea4589cfd21ce610050c75895ed69b2ee08.zip
hdf5-9f028ea4589cfd21ce610050c75895ed69b2ee08.tar.gz
hdf5-9f028ea4589cfd21ce610050c75895ed69b2ee08.tar.bz2
[svn-r19399] Description:
Bring r19398 from trunk to 1.8 branch: Clean up the internal usage H5I_dec_ref() to eliminate the sequence of flags that has been creeping in. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index d66619d..9d98e50 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -1783,9 +1783,9 @@ H5T_conv_struct_free(H5T_conv_struct_t *priv)
for (i=0; i<priv->src_nmembs; i++)
if (src2dst[i] >= 0) {
- status = H5I_dec_ref(src_memb_id[i], FALSE, FALSE);
+ status = H5I_dec_ref(src_memb_id[i]);
HDassert(status >= 0);
- status = H5I_dec_ref(dst_memb_id[src2dst[i]], FALSE, FALSE);
+ status = H5I_dec_ref(dst_memb_id[src2dst[i]]);
HDassert(status >= 0);
}
@@ -3173,9 +3173,9 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts,
/* Release the temporary datatype IDs used */
if(tsrc_id >= 0)
- H5I_dec_ref(tsrc_id, FALSE, FALSE);
+ H5I_dec_ref(tsrc_id);
if(tdst_id >= 0)
- H5I_dec_ref(tdst_id, FALSE, FALSE);
+ H5I_dec_ref(tdst_id);
break;
default: /* Some other command we don't know about yet.*/
@@ -3325,9 +3325,9 @@ H5T_conv_array(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts,
/* Release the temporary datatype IDs used */
if(tsrc_id >= 0)
- H5I_dec_ref(tsrc_id, FALSE, FALSE);
+ H5I_dec_ref(tsrc_id);
if(tdst_id >= 0)
- H5I_dec_ref(tdst_id, FALSE, FALSE);
+ H5I_dec_ref(tdst_id);
break;
default: /* Some other command we don't know about yet.*/