silence compiler warnings

This commit is contained in:
Axel Kohlmeyer 2019-04-05 15:51:32 -04:00
parent ac7312caf1
commit e56d69a267
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
5 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -262,8 +262,8 @@ 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 )
void Validate_ListsOMP(reax_system *system, storage * /*workspace*/, reax_list **lists,
int step, int n, int N, int numH, MPI_Comm /*comm*/)
{
int i, comp, Hindex;
reax_list *bonds, *hbonds;

View File

@ -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;

View File

@ -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;

View File

@ -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;