diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-07-10 13:16:26 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-07-10 13:16:26 (GMT) |
commit | 7417af566e402a521ab11f41e8196813a3f6b153 (patch) | |
tree | 25d8d4cfb926f2a6f59bd092adc4f51fd74bea85 | |
parent | 17eca872f13fb7e880438dca76f40d371293bc8a (diff) | |
download | hdf5-7417af566e402a521ab11f41e8196813a3f6b153.zip hdf5-7417af566e402a521ab11f41e8196813a3f6b153.tar.gz hdf5-7417af566e402a521ab11f41e8196813a3f6b153.tar.bz2 |
[svn-r22533] Correct order of declarations in functions.
-rw-r--r-- | tools/lib/h5trav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c index ed2abeb..833b8c4 100644 --- a/tools/lib/h5trav.c +++ b/tools/lib/h5trav.c @@ -957,12 +957,12 @@ trav_print_visit_lnk(const char *path, const H5L_info_t *linfo, void *udata) int h5trav_print(hid_t fid, H5_index_t print_index_by, H5_iter_order_t print_index_order) { - trav_index_by = print_index_by; - trav_index_order = print_index_order; - trav_print_udata_t print_udata; /* User data for traversal */ trav_visitor_t print_visitor; /* Visitor structure for printing objects */ + trav_index_by = print_index_by; + trav_index_order = print_index_order; + /* Init user data for printing */ print_udata.fid = fid; |