Commit 2b613316 authored by Xin Zhao's avatar Xin Zhao
Browse files

Remove unused variable in examples/ircpi.c.


Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <raffenet@mcs.anl.gov>
parent 634a7c85
......@@ -11,7 +11,7 @@
int main(int argc, char *argv[])
{
int n, myid, numprocs, i, ierr;
int n, myid, numprocs, i;
double PI25DT = 3.141592653589793238462643;
double mypi, pi, h, sum, x;
MPI_Win nwin, piwin;
......@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
if (myid == 0) {
fprintf(stdout, "Enter the number of intervals: (0 quits) ");
fflush(stdout);
ierr=scanf("%d",&n);
scanf("%d",&n);
pi = 0.0;
}
MPI_Win_fence(0, nwin);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment