summaryrefslogtreecommitdiffstats
path: root/testpar/t_chunk_alloc.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-27 15:01:32 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-27 15:01:32 (GMT)
commit5163a7e1cf75edecc2d9e198a68ef00e8c124d00 (patch)
tree899b937df8ea59b756e7aab654f11ad014f75f01 /testpar/t_chunk_alloc.c
parentf3a4e8164f99d733e6804acddfe1b3b0dfe63634 (diff)
downloadhdf5-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.c20
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);
}