remove dead code and silence warnings about unused parameters

This commit is contained in:
Axel Kohlmeyer
2018-11-12 21:11:55 -05:00
parent 443644025f
commit b776f0f29f
3 changed files with 13 additions and 16 deletions

View File

@ -413,7 +413,7 @@ void Hyper::command(int narg, char **arg)
short dynamics run
------------------------------------------------------------------------- */
void Hyper::dynamics(int nsteps, double &time_category)
void Hyper::dynamics(int nsteps, double & /* time_category */)
{
update->whichflag = 1;
update->nsteps = nsteps;
@ -470,7 +470,7 @@ void Hyper::quench(int flag)
//update->minimize->setup_minimal(1);
// NOTE: what doing with ncalls?
int ncalls = neighbor->ncalls;
// int ncalls = neighbor->ncalls;
timer->barrier_start();
update->minimize->run(maxiter);