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 /testpar/t_chunk_alloc.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 'testpar/t_chunk_alloc.c')
-rw-r--r-- | testpar/t_chunk_alloc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/testpar/t_chunk_alloc.c b/testpar/t_chunk_alloc.c index e6df2d8..e716f41 100644 --- a/testpar/t_chunk_alloc.c +++ b/testpar/t_chunk_alloc.c @@ -385,18 +385,18 @@ verify_data(const char *filename, int chunk_factor, write_type write_pattern, in /* set expected value according the write pattern */ switch (write_pattern) { - case all: - value = i%mpi_size + 1; - break; - case none: - value = 0; - break; - case sec_last: - if (i==nchunks-2) - value = 100; - else + case all: + value = i%mpi_size + 1; + break; + case none: value = 0; break; + case sec_last: + if (i==nchunks-2) + value = 100; + else + value = 0; + break; default: HDassert(0); } |