diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-27 15:01:32 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-27 15:01:32 (GMT) |
commit | 5163a7e1cf75edecc2d9e198a68ef00e8c124d00 (patch) | |
tree | 899b937df8ea59b756e7aab654f11ad014f75f01 /tools/test/h5copy/h5copygentest.c | |
parent | f3a4e8164f99d733e6804acddfe1b3b0dfe63634 (diff) | |
download | hdf5-5163a7e1cf75edecc2d9e198a68ef00e8c124d00.zip hdf5-5163a7e1cf75edecc2d9e198a68ef00e8c124d00.tar.gz hdf5-5163a7e1cf75edecc2d9e198a68ef00e8c124d00.tar.bz2 |
fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
Diffstat (limited to 'tools/test/h5copy/h5copygentest.c')
-rw-r--r-- | tools/test/h5copy/h5copygentest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/test/h5copy/h5copygentest.c b/tools/test/h5copy/h5copygentest.c index 716b0d2..2a8a575 100644 --- a/tools/test/h5copy/h5copygentest.c +++ b/tools/test/h5copy/h5copygentest.c @@ -744,9 +744,9 @@ static void Test_Obj_Copy(void) /* Set the FAPL for the type of format */ /* Create source file */ if(new_format) - fid = H5Fcreate(HDF_FILE1, H5F_ACC_TRUNC, H5P_DEFAULT, fapl_new); - else - fid = H5Fcreate(HDF_FILE1_NEW, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + fid = H5Fcreate(HDF_FILE1, H5F_ACC_TRUNC, H5P_DEFAULT, fapl_new); + else + fid = H5Fcreate(HDF_FILE1_NEW, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); if(fid < 0) { HDfprintf(stderr, "Error: H5Fcreate failed.\n"); goto out; @@ -756,7 +756,7 @@ static void Test_Obj_Copy(void) gent_empty_group(fid); gent_nested_datasets(fid); gent_nested_group(fid); - gent_att_compound_vlstr(fid); + gent_att_compound_vlstr(fid); H5Fclose(fid); fid = (-1); |