silence compiler warnings about initialization order and unused args

This commit is contained in:
Axel Kohlmeyer
2018-10-31 00:34:58 -04:00
parent 446b05ebc1
commit 688945a0ef
5 changed files with 17 additions and 14 deletions

View File

@ -36,7 +36,7 @@ static void writemsg(LAMMPS *lmp, const char *msg, int abend=1)
/* ---------------------------------------------------------------------- */
void Deprecated::command(int narg, char **arg)
void Deprecated::command(int /* narg */, char ** /* arg */)
{
if (strcmp(input->command,"DEPRECATED") == 0) {
writemsg(lmp,"\nCommand 'DEPRECATED' is a dummy command\n\n",0);