summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 88ee231..e9df5e6 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -261,7 +261,6 @@ H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
/* Get an atom for the object */
if((ret_value = H5I_register2(opened_type, opened_obj, vol_plugin, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle")
- vol_plugin->nrefs++;
#if 0
if ((ret_value = H5VL_object_register(opened_obj, opened_type, vol_plugin)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle")
@@ -344,7 +343,6 @@ H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
/* Get an atom for the object */
if((ret_value = H5I_register2(opened_type, opened_obj, vol_plugin, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle")
- vol_plugin->nrefs++;
done:
FUNC_LEAVE_API(ret_value)
@@ -417,7 +415,6 @@ H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
/* Get an atom for the object */
if((ret_value = H5I_register2(opened_type, opened_obj, vol_plugin, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle")
- vol_plugin->nrefs++;
done:
FUNC_LEAVE_API(ret_value)