From 5308cbefa8fbde30bed8a88943d58ec646731d9e Mon Sep 17 00:00:00 2001 From: Andrew Myers Date: Thu, 23 May 2019 15:27:17 -0700 Subject: fix a bunch of unused variable / parameter shadowing warnings --- Source/Particles/PhysicalParticleContainer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 37c136a3d..212084e64 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1024,9 +1024,6 @@ PhysicalParticleContainer::FieldGather (int lev, { const std::array& dx = WarpX::CellSize(lev); - // WarpX assumes the same number of guard cells for Ex, Ey, Ez, Bx, By, Bz - long ng = Ex.nGrow(); - BL_ASSERT(OnSameGrids(lev,Ex)); MultiFab* cost = WarpX::getCosts(lev); -- cgit v1.2.3