summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5A.c')
-rw-r--r--src/H5A.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 7adae38..4db7265 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -1291,7 +1291,7 @@ H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op, void *op_data)
{
H5G_entry_t *ent = NULL; /*symtab ent of object to attribute */
H5A_t found_attr;
- herr_t ret_value = FAIL;
+ herr_t ret_value = 0;
int idx;
FUNC_ENTER_API(H5Aiterate, FAIL);