summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5I.c b/src/H5I.c
index fa79b72..c00200c 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -706,6 +706,10 @@ H5I_remove(hid_t id)
* zero and no `free' function has been defined. The object is still
* removed from the list.
*
+ * Robb Matzke, 30 Dec 1998
+ * Fixed a bug where the return value was always zero instead of the new
+ * reference count.
+ *
*-------------------------------------------------------------------------
*/
intn
@@ -742,7 +746,6 @@ H5I_dec_ref(hid_t id)
}
}
}
- ret_value = SUCCEED;
}
FUNC_LEAVE(ret_value);
}