summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2009-03-04 19:41:41 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2009-03-04 19:41:41 (GMT)
commit221c4c0baae718012585b6dced601e5bb265b9e2 (patch)
tree2eae80699361264d6902c56472e006bdbbcf2a39 /src
parent3028f1c2b06926ab88e3465e5f5c6684c56567c1 (diff)
downloadhdf5-221c4c0baae718012585b6dced601e5bb265b9e2.zip
hdf5-221c4c0baae718012585b6dced601e5bb265b9e2.tar.gz
hdf5-221c4c0baae718012585b6dced601e5bb265b9e2.tar.bz2
[svn-r16540] Move variable declaration to the top of the block in H5G_dense_iterate
Tested: Fedora 10 (too minor for full committest)
Diffstat (limited to 'src')
-rw-r--r--src/H5Gdense.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Gdense.c b/src/H5Gdense.c
index 6cc15b8..322b31b 100644
--- a/src/H5Gdense.c
+++ b/src/H5Gdense.c
@@ -988,9 +988,10 @@ H5G_dense_iterate(H5F_t *f, hid_t dxpl_id, const H5O_linfo_t *linfo,
/* Check on iteration order */
if(order == H5_ITER_NATIVE) {
- HDassert(H5F_addr_defined(bt2_addr));
H5G_bt2_ud_it_t udata; /* User data for iterator callback */
+ HDassert(H5F_addr_defined(bt2_addr));
+
/* Open the fractal heap */
if(NULL == (fheap = H5HF_open(f, dxpl_id, linfo->fheap_addr)))
HGOTO_ERROR(H5E_SYM, H5E_CANTOPENOBJ, FAIL, "unable to open fractal heap")