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
/
datatype
/
transpose-pack.c
diff --git
a/teshsuite/smpi/mpich3-test/datatype/transpose-pack.c
b/teshsuite/smpi/mpich3-test/datatype/transpose-pack.c
index
5bd6a72
..
1cd2202
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/datatype/transpose-pack.c
+++ b/
teshsuite/smpi/mpich3-test/datatype/transpose-pack.c
@@
-25,7
+25,7
@@
int main(int argc, char *argv[])
MPI_Datatype row, xpose;
MPI_Aint sizeofint;
MPI_Datatype row, xpose;
MPI_Aint sizeofint;
- int
err,
errs = 0;
+ int
/* err, */
errs = 0;
int bufsize, position = 0;
void *buffer;
int bufsize, position = 0;
void *buffer;
@@
-58,7
+58,7
@@
int main(int argc, char *argv[])
change the error handler to errors return */
MPI_Comm_set_errhandler( MPI_COMM_WORLD, MPI_ERRORS_RETURN );
change the error handler to errors return */
MPI_Comm_set_errhandler( MPI_COMM_WORLD, MPI_ERRORS_RETURN );
-
err =
MPI_Pack(a,
+
/* err = */
MPI_Pack(a,
1,
xpose,
buffer,
1,
xpose,
buffer,
@@
-68,7
+68,7
@@
int main(int argc, char *argv[])
/* Unpack the buffer into b. */
position = 0;
/* Unpack the buffer into b. */
position = 0;
-
err =
MPI_Unpack(buffer,
+
/* err = */
MPI_Unpack(buffer,
bufsize,
&position,
b,
bufsize,
&position,
b,