A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings about unused variables in mpich3-test.
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
red_scat_block.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/red_scat_block.c
b/teshsuite/smpi/mpich3-test/coll/red_scat_block.c
index
3092c8d
..
7891cb6
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/coll/red_scat_block.c
+++ b/
teshsuite/smpi/mpich3-test/coll/red_scat_block.c
@@
-20,9
+20,12
@@
int main(int argc, char **argv)
{
int err = 0;
- int toterr, size, rank, i, sumval;
+ int toterr, size, rank;
+#if MTEST_HAVE_MIN_MPI_VERSION(2,2)
+ int i, sumval;
int *sendbuf;
int *recvbuf;
+#endif
MPI_Comm comm;
MPI_Init(&argc, &argv);