Skip to content

Commit ba2f8aa

Browse files
authored
[mini-PR ] Fix an "unused variable" warning (#1488)
* fixed unused variable * eliminate superfluous include
1 parent d516b5e commit ba2f8aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Source/Parallelization/WarpXComm.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#include <algorithm>
1515
#include <cstdlib>
16-
1716
#include <memory>
1817

1918
using namespace amrex;
@@ -879,7 +878,7 @@ WarpX::ApplyFilterandSumBoundaryRho (int lev, PatchType patch_type, int icomp, i
879878
}
880879

881880
void
882-
WarpX::ApplyFilterandSumBoundaryRho (int lev, int glev, amrex::MultiFab& rho, int icomp, int ncomp)
881+
WarpX::ApplyFilterandSumBoundaryRho (int /*lev*/, int glev, amrex::MultiFab& rho, int icomp, int ncomp)
883882
{
884883
const auto& period = Geom(glev).periodicity();
885884
if (use_filter) {

0 commit comments

Comments
 (0)