summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-09-15 22:20:26 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-09-15 22:20:26 (GMT)
commitca22dcc103f62a8eec0c8a97cf1c02360677a23b (patch)
tree19d3f2b4e4c972a777b5e053d1fbb49e27d91dce /src
parent14af56fff4aa89031d0e467de24077fc070245ce (diff)
downloadhdf5-ca22dcc103f62a8eec0c8a97cf1c02360677a23b.zip
hdf5-ca22dcc103f62a8eec0c8a97cf1c02360677a23b.tar.gz
hdf5-ca22dcc103f62a8eec0c8a97cf1c02360677a23b.tar.bz2
[svn-r87] Moved an auto init after the FUNC_ENTER()
Diffstat (limited to 'src')
-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)