[svn-r22005] function calls must be after assignments on windows

This commit is contained in:
Allen Byrne 2012-02-29 09:04:51 -05:00
parent df6c92e506
commit e53a56af53

View File

@ -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));