From abc9cfe30f3d0c516029a07fe28f060bb3ab48e4 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 17 Jul 2020 00:30:13 -0400 Subject: [PATCH] silence compiler warnings --- src/KOKKOS/fix_gravity_kokkos.cpp | 2 +- src/KOKKOS/fix_langevin_kokkos.cpp | 2 +- src/KOKKOS/fix_setforce_kokkos.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/KOKKOS/fix_gravity_kokkos.cpp b/src/KOKKOS/fix_gravity_kokkos.cpp index 5d3b4f62fb..e74595e598 100644 --- a/src/KOKKOS/fix_gravity_kokkos.cpp +++ b/src/KOKKOS/fix_gravity_kokkos.cpp @@ -41,7 +41,7 @@ FixGravityKokkos::FixGravityKokkos(LAMMPS *lmp, int narg, char **arg /* ---------------------------------------------------------------------- */ template -void FixGravityKokkos::post_force(int vflag) +void FixGravityKokkos::post_force(int /*vflag*/) { // update gravity due to variables diff --git a/src/KOKKOS/fix_langevin_kokkos.cpp b/src/KOKKOS/fix_langevin_kokkos.cpp index 8818d60a11..244b20ea18 100644 --- a/src/KOKKOS/fix_langevin_kokkos.cpp +++ b/src/KOKKOS/fix_langevin_kokkos.cpp @@ -137,7 +137,7 @@ void FixLangevinKokkos::grow_arrays(int nmax) /* ---------------------------------------------------------------------- */ template -void FixLangevinKokkos::initial_integrate(int vflag) +void FixLangevinKokkos::initial_integrate(int /*vflag*/) { atomKK->sync(execution_space,datamask_read); atomKK->modified(execution_space,datamask_modify); diff --git a/src/KOKKOS/fix_setforce_kokkos.cpp b/src/KOKKOS/fix_setforce_kokkos.cpp index 6f14a71382..4763f04e70 100644 --- a/src/KOKKOS/fix_setforce_kokkos.cpp +++ b/src/KOKKOS/fix_setforce_kokkos.cpp @@ -73,7 +73,7 @@ void FixSetForceKokkos::init() /* ---------------------------------------------------------------------- */ template -void FixSetForceKokkos::post_force(int vflag) +void FixSetForceKokkos::post_force(int /*vflag*/) { atomKK->sync(execution_space, X_MASK | F_MASK | MASK_MASK);