Unverified Commit e56d69a2 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

silence compiler warnings

parent ac7312ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1390,7 +1390,7 @@ void FixShake::shake_info(int *npartner, tagint **partner_tag,
------------------------------------------------------------------------- */

int FixShake::rendezvous_ids(int n, char *inbuf,
                             int &flag, int *&proclist, char *&outbuf,
                             int &flag, int *& /*proclist*/, char *& /*outbuf*/,
                             void *ptr)
{
  FixShake *fsptr = (FixShake *) ptr;
+2 −2
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ void Compute_Total_ForceOMP( reax_system *system, control_params *control,
/* ---------------------------------------------------------------------- */

void Validate_ListsOMP(reax_system *system, storage * /*workspace*/, reax_list **lists,
                     int step, int n, int N, int numH, MPI_Comm comm )
                       int step, int n, int N, int numH, MPI_Comm /*comm*/)
{
  int i, comp, Hindex;
  reax_list *bonds, *hbonds;
+2 −2
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ void Write_Skip_Line( output_controls *out_control, mpi_datatypes * /*mpi_data*/


int Write_Header( reax_system *system, control_params *control,
                  output_controls *out_control, mpi_datatypes *mpi_data )
                  output_controls *out_control, mpi_datatypes * /*mpi_data*/ )
{
  int  num_hdr_lines, my_hdr_lines, buffer_req;
  char ensembles[ens_N][25] =  { "NVE", "NVT", "fully flexible NPT",
@@ -357,7 +357,7 @@ int Init_Traj( reax_system *system, control_params *control,

int Write_Frame_Header( reax_system *system, control_params *control,
                        simulation_data *data, output_controls *out_control,
                        mpi_datatypes *mpi_data )
                        mpi_datatypes * /*mpi_data*/ )
{
  int me, num_frm_hdr_lines, my_frm_hdr_lines, buffer_req;

+2 −2
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ using namespace LAMMPS_NS;
#define MAX_GROUP 32
#define EPSILON 1.0e-6

enum{TYPE,MOLECULE,ID};
enum{NONE,TYPE,MOLECULE,ID};
enum{LT,LE,GT,GE,EQ,NEQ,BETWEEN};

#define BIG 1.0e20
@@ -202,7 +202,7 @@ void Group::assign(int narg, char **arg)

    if (narg < 3) error->all(FLERR,"Illegal group command");

    int category;
    int category=NONE;
    if (strcmp(arg[1],"type") == 0) category = TYPE;
    else if (strcmp(arg[1],"molecule") == 0) category = MOLECULE;
    else if (strcmp(arg[1],"id") == 0) category = ID;
+1 −1
Original line number Diff line number Diff line
@@ -477,7 +477,7 @@ class Memory : protected Pointers {
  }

  template <typename TYPE>
  TYPE *****grow(TYPE *****&array, int n1, int n2, int n3, int n4,
  TYPE *****grow(TYPE *****& /*array*/, int /*n1*/, int /*n2*/, int /*n3*/, int /*n4*/,
          const char *name)
  {
          fail(name); return NULL;