From bbff765c6396ea9f69c0fcc0d5966a38b010536a Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Tue, 1 Sep 2020 23:04:19 +0200 Subject: Fix 🩹(almost) all warnings ⚠️ with default configuration in 2D (DIM=2, openMP+MPI, double precision, no advanced solvers, no QED, native output) (#1264) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depends on #1263 --- .../FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H') diff --git a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H index f4c911db7..58973fdab 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H +++ b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H @@ -219,6 +219,9 @@ struct CartesianCKCAlgorithm { int const i, int const j, int const k, int const ncomp=0 ) { using namespace amrex; + + amrex::ignore_unused(n_coefs_z); + Real const alphaz = coefs_z[1]; Real const betazx = coefs_z[2]; #if defined WARPX_DIM_3D -- cgit v1.2.3