summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2020-12-12 03:25:24 (GMT)
committerGitHub <noreply@github.com>2020-12-12 03:25:24 (GMT)
commit9e72b7f834eba0e7225bbec858da14431e0c6954 (patch)
tree0f98c594f5fc16c7db4f1df20c45498aba82cbc8 /src/H5I.c
parent71a7ad0e075b8bcb104a62a177115efbf85ae91e (diff)
downloadhdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.zip
hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.gz
hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.bz2
Minor normalization with the async branch (#159)
* Minor normalization with the async branch * Update CMake and the Autotools to use the new pass-through VOL ID
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 90a7479..623a2f7 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -300,7 +300,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5Iregister
*
- * Purpose: Public interface to H5I_register.
+ * Purpose: Register an object.
*
* Return: Success: New object ID
* Failure: H5I_INVALID_HID
@@ -318,6 +318,7 @@ H5Iregister(H5I_type_t type, const void *object)
if (H5I_IS_LIB_TYPE(type))
HGOTO_ERROR(H5E_ID, H5E_BADGROUP, H5I_INVALID_HID, "cannot call public function on library type")
+ /* Register the object */
ret_value = H5I_register(type, object, TRUE);
done: