g_tune_pme: Clean up -Wunused-parameter warnings
authorAlexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
Thu, 26 Sep 2013 07:50:02 +0000 (11:50 +0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 26 Sep 2013 15:29:28 +0000 (17:29 +0200)
Change-Id: Ib46eae156dbb693b013657a017a729888b4ba286
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
src/gromacs/gmxana/gmx_tune_pme.c

index 8f36e95e7ba7dca8ba51440e73960ce4c39aa7ba..ff9edfa65a17ab8a04ddd95087aacc766359a085 100644 (file)
@@ -586,8 +586,7 @@ static gmx_bool analyze_data(
 
 
 /* Get the commands we need to set up the runs from environment variables */
-static void get_program_paths(gmx_bool bThreads, char *cmd_mpirun[], char cmd_np[],
-                              char *cmd_mdrun[], int repeats)
+static void get_program_paths(gmx_bool bThreads, char *cmd_mpirun[], char *cmd_mdrun[])
 {
     char      *cp;
     FILE      *fp;
@@ -626,7 +625,7 @@ static void get_program_paths(gmx_bool bThreads, char *cmd_mpirun[], char cmd_np
 /* Check that the commands will run mdrun (perhaps via mpirun) by
  * running a very quick test simulation. Requires MPI environment to
  * be available if applicable. */
-static void check_mdrun_works(gmx_bool bThreads,
+static void check_mdrun_works(gmx_bool    bThreads,
                               const char *cmd_mpirun,
                               const char *cmd_np,
                               const char *cmd_mdrun)
@@ -2364,7 +2363,7 @@ int gmx_tune_pme(int argc, char *argv[])
     }
 
     /* Get the commands we need to set up the runs from environment variables */
-    get_program_paths(bThreads, &cmd_mpirun, cmd_np, &cmd_mdrun, repeats);
+    get_program_paths(bThreads, &cmd_mpirun, &cmd_mdrun);
     if (bBenchmark && repeats > 0)
     {
         check_mdrun_works(bThreads, cmd_mpirun, cmd_np, cmd_mdrun);