avoid static code analysis warnings
This commit is contained in:
@ -38,6 +38,8 @@ PairBornGauss::PairBornGauss(LAMMPS *lmp) :
|
|||||||
single_enable = 1;
|
single_enable = 1;
|
||||||
respa_enable = 0;
|
respa_enable = 0;
|
||||||
writedata = 1;
|
writedata = 1;
|
||||||
|
|
||||||
|
cut_global = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|||||||
@ -33,6 +33,8 @@ RegBlock::RegBlock(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
Region(lmp, narg, arg), xlostr(nullptr), ylostr(nullptr), zlostr(nullptr), xhistr(nullptr),
|
Region(lmp, narg, arg), xlostr(nullptr), ylostr(nullptr), zlostr(nullptr), xhistr(nullptr),
|
||||||
yhistr(nullptr), zhistr(nullptr)
|
yhistr(nullptr), zhistr(nullptr)
|
||||||
{
|
{
|
||||||
|
xlovar = xhivar = ylovar = yhivar = zlovar = zhivar = -1;
|
||||||
|
|
||||||
options(narg - 8, &arg[8]);
|
options(narg - 8, &arg[8]);
|
||||||
|
|
||||||
xlostyle = CONSTANT;
|
xlostyle = CONSTANT;
|
||||||
|
|||||||
Reference in New Issue
Block a user