summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5A.c')
-rw-r--r--src/H5A.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/H5A.c b/src/H5A.c
index a9efaec..678f37e 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -1380,7 +1380,14 @@ done:
H5G_entry_t *
H5A_entof(H5A_t *attr)
{
+ H5G_entry_t *ret_value; /* Return value */
+
FUNC_ENTER_NOAPI(H5A_entof, NULL);
assert(attr);
- FUNC_LEAVE(&(attr->ent));
+
+ /* Set return value */
+ ret_value=&(attr->ent);
+
+done:
+ FUNC_LEAVE(ret_value);
}