Commit 6305992f authored by Nick's avatar Nick
Browse files

Remove unused variable warning when MPI is disabled.

parent 572da9b8
......@@ -9,8 +9,8 @@
int main(int argc, char *argv[])
{
int rank = 0;
int size = 1;
#ifdef ADIOS2_HAVE_MPI
int size = 1;
MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
......
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