diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-02-29 14:04:51 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-02-29 14:04:51 (GMT) |
commit | e53a56af532e4c63872f5b8bc4b40d71600011dc (patch) | |
tree | aefb12a6921bc856028c221c18d71a7a09cf746a | |
parent | df6c92e506a81ed0ede7dacc1269d21ae3e0f411 (diff) | |
download | hdf5-e53a56af532e4c63872f5b8bc4b40d71600011dc.zip hdf5-e53a56af532e4c63872f5b8bc4b40d71600011dc.tar.gz hdf5-e53a56af532e4c63872f5b8bc4b40d71600011dc.tar.bz2 |
[svn-r22005] function calls must be after assignments on windows
-rw-r--r-- | tools/h5repack/h5repacktst.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c index 0ea70ae..17a6190 100644 --- a/tools/h5repack/h5repacktst.c +++ b/tools/h5repack/h5repacktst.c @@ -168,11 +168,6 @@ static int make_complex_attr_references(hid_t loc_id); int main (void) { - h5tools_setprogname(PROGRAMNAME); - h5tools_setstatus(EXIT_SUCCESS); - - /* Initialize h5tools lib */ - h5tools_init(); pack_opt_t pack_options; diff_opt_t diff_options; hsize_t fs_size = 0; /* free space section threshold */ @@ -181,6 +176,12 @@ int main (void) int szip_can_encode = 0; #endif + h5tools_setprogname(PROGRAMNAME); + h5tools_setstatus(EXIT_SUCCESS); + + /* Initialize h5tools lib */ + h5tools_init(); + /* initialize */ HDmemset(&diff_options, 0, sizeof (diff_opt_t)); HDmemset(&pack_options, 0, sizeof (pack_opt_t)); |