Fix more unused parameter warnings (#1076)

This commit is contained in:
Daniel Schwen
2018-08-23 09:26:00 -06:00
parent 7238d4af94
commit e9bc939098
121 changed files with 224 additions and 223 deletions

View File

@ -410,7 +410,7 @@ void Velocity::create(double t_desired, int seed)
/* ---------------------------------------------------------------------- */
void Velocity::set(int narg, char **arg)
void Velocity::set(int /*narg*/, char **arg)
{
int xstyle,ystyle,zstyle,varflag;
double vx,vy,vz;
@ -579,7 +579,7 @@ void Velocity::set(int narg, char **arg)
rescale velocities of a group after computing its temperature
------------------------------------------------------------------------- */
void Velocity::scale(int narg, char **arg)
void Velocity::scale(int /*narg*/, char **arg)
{
double t_desired = force->numeric(FLERR,arg[0]);
@ -628,7 +628,7 @@ void Velocity::scale(int narg, char **arg)
apply a ramped set of velocities
------------------------------------------------------------------------- */
void Velocity::ramp(int narg, char **arg)
void Velocity::ramp(int /*narg*/, char **arg)
{
// set scale factors
@ -705,7 +705,7 @@ void Velocity::ramp(int narg, char **arg)
zero linear or angular momentum of a group
------------------------------------------------------------------------- */
void Velocity::zero(int narg, char **arg)
void Velocity::zero(int /*narg*/, char **arg)
{
if (strcmp(arg[0],"linear") == 0) {
if (rfix < 0) zero_momentum();