From e53a56af532e4c63872f5b8bc4b40d71600011dc Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 29 Feb 2012 09:04:51 -0500 Subject: [svn-r22005] function calls must be after assignments on windows --- tools/h5repack/h5repacktst.c | 11 ++++++----- 1 file 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)); -- cgit v0.12