mirror of https://github.com/lammps/lammps.git
Fix unused parameters in memory.h (#1076)
This commit is contained in:
parent
b47e492233
commit
dd923edf15
36
src/memory.h
36
src/memory.h
|
@ -50,7 +50,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE **create(TYPE **&array, int n, const char *name)
|
TYPE **create(TYPE **& /*array*/, int /*n*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -68,7 +68,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE **grow(TYPE **&array, int n, const char *name)
|
TYPE **grow(TYPE **& /*array*/, int /*n*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -96,7 +96,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE **create1d_offset(TYPE **&array, int nlo, int nhi, const char *name)
|
TYPE **create1d_offset(TYPE **& /*array*/, int /*nlo*/, int /*nhi*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -131,7 +131,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ***create(TYPE ***&array, int n1, int n2, const char *name)
|
TYPE ***create(TYPE ***& /*array*/, int /*n1*/, int /*n2*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -158,7 +158,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ***grow(TYPE ***&array, int n1, int n2, const char *name)
|
TYPE ***grow(TYPE ***& /*array*/, int /*n1*/, int /*n2*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -198,7 +198,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ***create_ragged(TYPE ***&array, int n1, int *n2, const char *name)
|
TYPE ***create_ragged(TYPE ***& /*array*/, int /*n1*/, int * /*n2*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -217,7 +217,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ***create2d_offset(TYPE ***&array, int n1, int n2lo, int n2hi,
|
TYPE ***create2d_offset(TYPE ***& /*array*/, int /*n1*/, int /*n2lo*/, int /*n2hi*/,
|
||||||
const char *name) {fail(name); return NULL;}
|
const char *name) {fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -262,7 +262,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ****create(TYPE ****&array, int n1, int n2, int n3, const char *name)
|
TYPE ****create(TYPE ****& /*array*/, int /*n1*/, int /*n2*/, int /*n3*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -297,7 +297,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ****grow(TYPE ****&array, int n1, int n2, int n3, const char *name)
|
TYPE ****grow(TYPE ****& /*array*/, int /*n1*/, int /*n2*/, int /*n3*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -330,8 +330,8 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ****create3d_offset(TYPE ****&array, int n1lo, int n1hi,
|
TYPE ****create3d_offset(TYPE ****& /*array*/, int /*n1lo*/, int /*n1hi*/,
|
||||||
int n2, int n3, const char *name)
|
int /*n2*/, int /*n3*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -374,8 +374,8 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ****create3d_offset(TYPE ****&array, int n1lo, int n1hi,
|
TYPE ****create3d_offset(TYPE ****& /*array*/, int /*n1lo*/, int /*n1hi*/,
|
||||||
int n2lo, int n2hi, int n3lo, int n3hi,
|
int /*n2lo*/, int /*n2hi*/, int /*n3lo*/, int /*n3hi*/,
|
||||||
const char *name)
|
const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
|
@ -432,7 +432,7 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE *****create(TYPE *****&array, int n1, int n2, int n3, int n4,
|
TYPE *****create(TYPE *****& /*array*/, int /*n1*/, int /*n2*/, int /*n3*/, int /*n4*/,
|
||||||
const char *name)
|
const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
|
@ -478,8 +478,8 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ****create4d_offset(TYPE *****&array, int n1, int n2lo, int n2hi,
|
TYPE ****create4d_offset(TYPE *****& /*array*/, int /*n1*/, int /*n2lo*/, int /*n2hi*/,
|
||||||
int n3lo, int n3hi, int n4lo, int n4hi,
|
int /*n3lo*/, int /*n3hi*/, int /*n4lo*/, int /*n4hi*/,
|
||||||
const char *name)
|
const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
|
@ -546,8 +546,8 @@ class Memory : protected Pointers {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
TYPE ******create(TYPE ******&array, int n1, int n2, int n3, int n4,
|
TYPE ******create(TYPE ******& /*array*/, int /*n1*/, int /*n2*/, int /*n3*/, int /*n4*/,
|
||||||
int n5, const char *name)
|
int /*n5*/, const char *name)
|
||||||
{fail(name); return NULL;}
|
{fail(name); return NULL;}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue