summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-08-13 13:44:24 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-08-13 13:44:24 (GMT)
commit4935d0bfab430ba1b374fb600216ec34075442fe (patch)
tree91460ffdd4f922e053f1b35054a00a98137aa173 /tools/h5dump
parent5d0b400f690631f3ad5ce56070e1fca34ef5042b (diff)
downloadhdf5-4935d0bfab430ba1b374fb600216ec34075442fe.zip
hdf5-4935d0bfab430ba1b374fb600216ec34075442fe.tar.gz
hdf5-4935d0bfab430ba1b374fb600216ec34075442fe.tar.bz2
[svn-r23999] Move declaration to top of block - fix for windows.
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/h5dump_ddl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump_ddl.c b/tools/h5dump/h5dump_ddl.c
index 157aa15..d46cb56 100644
--- a/tools/h5dump/h5dump_ddl.c
+++ b/tools/h5dump/h5dump_ddl.c
@@ -1462,6 +1462,7 @@ handle_paths(hid_t fid, const char *path_name, void* data, int pe, const char *d
hid_t gcpl_id;
unsigned crt_order_flags;
unsigned attr_crt_order_flags;
+ trav_handle_udata_t handle_udata; /* User data for traversal */
if ((gcpl_id = H5Gget_create_plist(gid)) < 0) {
error_msg("error in getting group creation property list ID\n");
@@ -1484,7 +1485,6 @@ handle_paths(hid_t fid, const char *path_name, void* data, int pe, const char *d
error_msg("error in closing group creation property list ID\n");
h5tools_setstatus(EXIT_FAILURE);
}
- trav_handle_udata_t handle_udata; /* User data for traversal */
handle_udata.fid = fid;
handle_udata.op_name = (char*)path_name;