Skip to content

Commit

Permalink
Fixign codacity reported unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfgc committed Mar 27, 2018
1 parent 3203521 commit 201dc7d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions testing/adios2/engine/bp/TestBPWriteAggregateRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,19 +918,11 @@ TEST_F(BPWriteAggregateReadTest, ADIOS2BPWriteAggregateSubStreamsException)
{
// Each process would write a 4x2 array and all processes would
// form a 2D 4 * (NumberOfProcess * Nx) matrix where Nx is 2 here
const std::string fname("ADIOS2BPWriteAggregateRead2D4x2Test.bp");

int mpiRank = 0, mpiSize = 1;
// Number of rows
const std::size_t Nx = 2;
// Number of cols
const std::size_t Ny = 4;
const std::string fname("dummy.bp");

// Number of steps
const std::size_t NSteps = 3;
int mpiSize = 1;

#ifdef ADIOS2_HAVE_MPI
MPI_Comm_rank(MPI_COMM_WORLD, &mpiRank);
MPI_Comm_size(MPI_COMM_WORLD, &mpiSize);
#endif

Expand Down

0 comments on commit 201dc7d

Please sign in to comment.