avoid static code analysis warnings
This commit is contained in:
@ -38,6 +38,8 @@ PairBornGauss::PairBornGauss(LAMMPS *lmp) :
|
||||
single_enable = 1;
|
||||
respa_enable = 0;
|
||||
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),
|
||||
yhistr(nullptr), zhistr(nullptr)
|
||||
{
|
||||
xlovar = xhivar = ylovar = yhivar = zlovar = zhivar = -1;
|
||||
|
||||
options(narg - 8, &arg[8]);
|
||||
|
||||
xlostyle = CONSTANT;
|
||||
|
||||
Reference in New Issue
Block a user