diff --git a/src/GRANULAR/fix_freeze.cpp b/src/GRANULAR/fix_freeze.cpp
index 0f581be01c4718b52e6fa9b686329c2c26fc34b4..73c1c9fc111a3239993ebe88d8154a8698ecdc16 100644
--- a/src/GRANULAR/fix_freeze.cpp
+++ b/src/GRANULAR/fix_freeze.cpp
@@ -83,7 +83,7 @@ void FixFreeze::setup(int vflag)
 
 /* ---------------------------------------------------------------------- */
 
-void FixFreeze::post_force(int vflag)
+void FixFreeze::post_force(int /*vflag*/)
 {
   double **f = atom->f;
   double **torque = atom->torque;
@@ -110,7 +110,7 @@ void FixFreeze::post_force(int vflag)
 
 /* ---------------------------------------------------------------------- */
 
-void FixFreeze::post_force_respa(int vflag, int ilevel, int iloop)
+void FixFreeze::post_force_respa(int vflag, int /*ilevel*/, int /*iloop*/)
 {
   post_force(vflag);
 }
diff --git a/src/GRANULAR/fix_wall_gran.cpp b/src/GRANULAR/fix_wall_gran.cpp
index 368ff99fb75929303f85b7a2bf8ffaaacc3a37ed..f0957423f94f6d9cb4db4400693619abb2a5bf9f 100644
--- a/src/GRANULAR/fix_wall_gran.cpp
+++ b/src/GRANULAR/fix_wall_gran.cpp
@@ -302,7 +302,7 @@ void FixWallGran::setup(int vflag)
 
 /* ---------------------------------------------------------------------- */
 
-void FixWallGran::post_force(int vflag)
+void FixWallGran::post_force(int /*vflag*/)
 {
   int i,j;
   double dx,dy,dz,del1,del2,delxy,delr,rsq,rwall,meff;
@@ -446,7 +446,7 @@ void FixWallGran::post_force(int vflag)
 
 /* ---------------------------------------------------------------------- */
 
-void FixWallGran::post_force_respa(int vflag, int ilevel, int iloop)
+void FixWallGran::post_force_respa(int vflag, int ilevel, int /*iloop*/)
 {
   if (ilevel == nlevels_respa-1) post_force(vflag);
 }
@@ -1041,7 +1041,7 @@ void FixWallGran::grow_arrays(int nmax)
    copy values within local atom-based arrays
 ------------------------------------------------------------------------- */
 
-void FixWallGran::copy_arrays(int i, int j, int delflag)
+void FixWallGran::copy_arrays(int i, int j, int /*delflag*/)
 {
   if (history)
     for (int m = 0; m < sheardim; m++)
@@ -1136,7 +1136,7 @@ int FixWallGran::maxsize_restart()
    size of atom nlocal's restart data
 ------------------------------------------------------------------------- */
 
-int FixWallGran::size_restart(int nlocal)
+int FixWallGran::size_restart(int /*nlocal*/)
 {
   if (!history) return 0;
   return 1 + sheardim;
diff --git a/src/GRANULAR/fix_wall_gran_region.cpp b/src/GRANULAR/fix_wall_gran_region.cpp
index 12fa25714ccbbf8447cbda043ee8ba00d0d66c14..4a6be5f3c9950790c5f0a02644128f340268dec7 100644
--- a/src/GRANULAR/fix_wall_gran_region.cpp
+++ b/src/GRANULAR/fix_wall_gran_region.cpp
@@ -130,7 +130,7 @@ void FixWallGranRegion::init()
 
 /* ---------------------------------------------------------------------- */
 
-void FixWallGranRegion::post_force(int vflag)
+void FixWallGranRegion::post_force(int /*vflag*/)
 {
   int i,m,nc,iwall;
   double dx,dy,dz,rsq,meff;
@@ -347,7 +347,7 @@ void FixWallGranRegion::grow_arrays(int nmax)
    copy values within local atom-based arrays
 ------------------------------------------------------------------------- */
 
-void FixWallGranRegion::copy_arrays(int i, int j, int delflag)
+void FixWallGranRegion::copy_arrays(int i, int j, int /*delflag*/)
 {
   int m,n,iwall;
 
diff --git a/src/GRANULAR/pair_gran_hertz_history.cpp b/src/GRANULAR/pair_gran_hertz_history.cpp
index 9d4f5c1a9b8a703d4dd83600e84186a6f140f5fe..d1f3c7bbe1eb02e0a23a00071ca4728292f62ef0 100644
--- a/src/GRANULAR/pair_gran_hertz_history.cpp
+++ b/src/GRANULAR/pair_gran_hertz_history.cpp
@@ -306,9 +306,9 @@ void PairGranHertzHistory::settings(int narg, char **arg)
 
 /* ---------------------------------------------------------------------- */
 
-double PairGranHertzHistory::single(int i, int j, int itype, int jtype,
+double PairGranHertzHistory::single(int i, int j, int /*itype*/, int /*jtype*/,
                                     double rsq,
-                                    double factor_coul, double factor_lj,
+                                    double /*factor_coul*/, double /*factor_lj*/,
                                     double &fforce)
 {
   double radi,radj,radsum;
diff --git a/src/GRANULAR/pair_gran_hooke.cpp b/src/GRANULAR/pair_gran_hooke.cpp
index 4937c2fe8b1142816d20c03f8548b208b594a860..5244396ead10434b1d5b39fb9cfc29d4ca4a7210 100644
--- a/src/GRANULAR/pair_gran_hooke.cpp
+++ b/src/GRANULAR/pair_gran_hooke.cpp
@@ -219,8 +219,8 @@ void PairGranHooke::compute(int eflag, int vflag)
 
 /* ---------------------------------------------------------------------- */
 
-double PairGranHooke::single(int i, int j, int itype, int jtype, double rsq,
-                             double factor_coul, double factor_lj,
+double PairGranHooke::single(int i, int j, int /*itype*/, int /*jtype*/, double rsq,
+                             double /*factor_coul*/, double /*factor_lj*/,
                              double &fforce)
 {
   double radi,radj,radsum,r,rinv,rsqinv;
diff --git a/src/GRANULAR/pair_gran_hooke_history.cpp b/src/GRANULAR/pair_gran_hooke_history.cpp
index d70c7391e2ba896961640895ce98e07acc6a0cd5..e74d7a0ea5a9e3433c60436f90c3099ff6e13aae 100644
--- a/src/GRANULAR/pair_gran_hooke_history.cpp
+++ b/src/GRANULAR/pair_gran_hooke_history.cpp
@@ -587,9 +587,9 @@ void PairGranHookeHistory::reset_dt()
 
 /* ---------------------------------------------------------------------- */
 
-double PairGranHookeHistory::single(int i, int j, int itype, int jtype,
+double PairGranHookeHistory::single(int i, int j, int /*itype*/, int /*jtype*/,
                                     double rsq,
-                                    double factor_coul, double factor_lj,
+                                    double /*factor_coul*/, double /*factor_lj*/,
                                     double &fforce)
 {
   double radi,radj,radsum;
@@ -746,7 +746,7 @@ double PairGranHookeHistory::single(int i, int j, int itype, int jtype,
 /* ---------------------------------------------------------------------- */
 
 int PairGranHookeHistory::pack_forward_comm(int n, int *list, double *buf,
-                                            int pbc_flag, int *pbc)
+                                            int /*pbc_flag*/, int */*pbc*/)
 {
   int i,j,m;