summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5M.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5M.c b/src/H5M.c
index f3771a2..27da979 100644
--- a/src/H5M.c
+++ b/src/H5M.c
@@ -279,12 +279,15 @@ done:
--------------------------------------------------------------------------*/
hatom_t H5Maccess(hatom_t oid)
{
- group_t group=H5Aatom_group(oid); /* Atom group for incoming object */
+ group_t group;
intn i; /* local counting variable */
hatom_t ret_value = SUCCEED;
FUNC_ENTER(H5Maccess, H5M_init_interface, FAIL);
+ /* Atom group for incoming object */
+ group = H5Aatom_group (oid);
+
/* Clear errors and check args and all the boring stuff. */
H5ECLEAR;
if(group<=BADGROUP || group>=MAXGROUP)