Skip to content

Commit

Permalink
[mini-PR ] Fix an "unused variable" warning (#1488)
Browse files Browse the repository at this point in the history
* fixed unused variable

* eliminate superfluous include
  • Loading branch information
lucafedeli88 authored Nov 2, 2020
1 parent d516b5e commit ba2f8aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Parallelization/WarpXComm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include <algorithm>
#include <cstdlib>

#include <memory>

using namespace amrex;
Expand Down Expand Up @@ -879,7 +878,7 @@ WarpX::ApplyFilterandSumBoundaryRho (int lev, PatchType patch_type, int icomp, i
}

void
WarpX::ApplyFilterandSumBoundaryRho (int lev, int glev, amrex::MultiFab& rho, int icomp, int ncomp)
WarpX::ApplyFilterandSumBoundaryRho (int /*lev*/, int glev, amrex::MultiFab& rho, int icomp, int ncomp)
{
const auto& period = Geom(glev).periodicity();
if (use_filter) {
Expand Down

0 comments on commit ba2f8aa

Please sign in to comment.