From 4935d0bfab430ba1b374fb600216ec34075442fe Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Tue, 13 Aug 2013 08:44:24 -0500 Subject: [svn-r23999] Move declaration to top of block - fix for windows. --- tools/h5dump/h5dump_ddl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12