aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ShapeFactors.H
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2020-08-24 23:14:30 +0200
committerGravatar GitHub <noreply@github.com> 2020-08-24 14:14:30 -0700
commitbb58c764f9f21f8baac5e2fb1d81fed4983d1242 (patch)
tree3e1f5914d8f1e2be1168b79509718719745ebb93 /Source/Particles/ShapeFactors.H
parent78f9be325d894bbae867aa279efdfd2212690825 (diff)
downloadWarpX-bb58c764f9f21f8baac5e2fb1d81fed4983d1242.tar.gz
WarpX-bb58c764f9f21f8baac5e2fb1d81fed4983d1242.tar.zst
WarpX-bb58c764f9f21f8baac5e2fb1d81fed4983d1242.zip
Fix some warnings (#1239)
This PR fixes the source of several compilation warnings. Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/ShapeFactors.H')
-rw-r--r--Source/Particles/ShapeFactors.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/ShapeFactors.H b/Source/Particles/ShapeFactors.H
index 917f0872d..835d1237e 100644
--- a/Source/Particles/ShapeFactors.H
+++ b/Source/Particles/ShapeFactors.H
@@ -23,7 +23,7 @@ struct Compute_shape_factor
{
template< typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
- int operator()(T* const sx, T xint) const { return 0; }
+ int operator()(T* const /*sx*/, T /*xint*/) const { return 0; }
};
/**