gmxpreprocess: clean up -Wunused-parameter warnings
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / readir.c
index 641e7dc5a160fc8eff8bb481936afe591ab1719a..bc8a72ab64c0a93417b460289ef077644678dd72 100644 (file)
@@ -2733,7 +2733,7 @@ static void calc_nrdf(gmx_mtop_t *mtop, t_inputrec *ir, char **gnames)
     sfree(na_vcm);
 }
 
-static void decode_cos(char *s, t_cosines *cosine, gmx_bool bTime)
+static void decode_cos(char *s, t_cosines *cosine)
 {
     char   *t;
     char    format[STRLEN], f1[STRLEN];
@@ -3385,12 +3385,12 @@ void do_index(const char* mdparin, const char *ndx,
         gmx_fatal(FARGS, "Can only have energy group pair tables in combination with user tables for VdW and/or Coulomb");
     }
 
-    decode_cos(efield_x, &(ir->ex[XX]), FALSE);
-    decode_cos(efield_xt, &(ir->et[XX]), TRUE);
-    decode_cos(efield_y, &(ir->ex[YY]), FALSE);
-    decode_cos(efield_yt, &(ir->et[YY]), TRUE);
-    decode_cos(efield_z, &(ir->ex[ZZ]), FALSE);
-    decode_cos(efield_zt, &(ir->et[ZZ]), TRUE);
+    decode_cos(efield_x, &(ir->ex[XX]));
+    decode_cos(efield_xt, &(ir->et[XX]));
+    decode_cos(efield_y, &(ir->ex[YY]));
+    decode_cos(efield_yt, &(ir->et[YY]));
+    decode_cos(efield_z, &(ir->ex[ZZ]));
+    decode_cos(efield_zt, &(ir->et[ZZ]));
 
     if (ir->bAdress)
     {