Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorbert committed Jun 16, 2020
1 parent bf29c7e commit 39a545f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions testing/adios2/engine/bp/TestBPBufferSize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ TEST_F(BPBufferSizeTest, SyncDeferredIdenticalUsage)
io.SetParameter("Profile", "OFF");

// Write with Sync
size_t bufsize_sync_init = 0;
size_t bufsize_sync_beginstep[NSteps];
size_t bufsize_sync_v1[NSteps];
size_t bufsize_sync_v2[NSteps];
Expand All @@ -134,7 +133,7 @@ TEST_F(BPBufferSizeTest, SyncDeferredIdenticalUsage)
{
adios2::Engine engine = io.Open(fnameSync, adios2::Mode::Write);

bufsize_sync_init = GetAndPrintBufferSize(engine, "After Open():");
GetAndPrintBufferSize(engine, "After Open():");
for (size_t step = 0; step < NSteps; ++step)
{
engine.BeginStep();
Expand All @@ -158,7 +157,6 @@ TEST_F(BPBufferSizeTest, SyncDeferredIdenticalUsage)
}

// Write with Deferred
size_t bufsize_deferred_init = 0;
size_t bufsize_deferred_beginstep[NSteps];
size_t bufsize_deferred_v1[NSteps];
size_t bufsize_deferred_v2[NSteps];
Expand All @@ -167,8 +165,7 @@ TEST_F(BPBufferSizeTest, SyncDeferredIdenticalUsage)
{
adios2::Engine engine = io.Open(fnameDeferred, adios2::Mode::Write);

bufsize_deferred_init =
GetAndPrintBufferSize(engine, "After Open():");
GetAndPrintBufferSize(engine, "After Open():");
for (size_t step = 0; step < NSteps; ++step)
{
engine.BeginStep();
Expand All @@ -192,7 +189,6 @@ TEST_F(BPBufferSizeTest, SyncDeferredIdenticalUsage)
}

// Write with Deferred+PerformPuts
size_t bufsize_deferred_pp_init = 0;
size_t bufsize_deferred_pp_beginstep[NSteps];
size_t bufsize_deferred_pp_v1[NSteps];
size_t bufsize_deferred_pp_v2[NSteps];
Expand All @@ -202,8 +198,7 @@ TEST_F(BPBufferSizeTest, SyncDeferredIdenticalUsage)
adios2::Engine engine =
io.Open(fnameDeferredPP, adios2::Mode::Write);

bufsize_deferred_pp_init =
GetAndPrintBufferSize(engine, "After Open():");
GetAndPrintBufferSize(engine, "After Open():");
for (size_t step = 0; step < NSteps; ++step)
{
engine.BeginStep();
Expand Down

0 comments on commit 39a545f

Please sign in to comment.