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
/
pt2pt
/
mprobe.c
diff --git
a/teshsuite/smpi/mpich3-test/pt2pt/mprobe.c
b/teshsuite/smpi/mpich3-test/pt2pt/mprobe.c
index
b45834e
..
c48d871
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/pt2pt/mprobe.c
+++ b/
teshsuite/smpi/mpich3-test/pt2pt/mprobe.c
@@
-31,15
+31,15
@@
int main(int argc, char **argv)
{
int errs = 0;
int main(int argc, char **argv)
{
int errs = 0;
- int found, completed;
int rank, size;
int rank, size;
+#ifdef TEST_MPROBE_ROUTINES
+ int found, completed;
int sendbuf[8], recvbuf[8];
int count;
int sendbuf[8], recvbuf[8];
int count;
-#ifdef TEST_MPROBE_ROUTINES
MPI_Message msg;
MPI_Message msg;
-#endif
MPI_Request rreq;
MPI_Status s1, s2;
MPI_Request rreq;
MPI_Status s1, s2;
+#endif
MPI_Init(&argc, &argv);
MPI_Init(&argc, &argv);