avoid static code analysis warnings

This commit is contained in:
Axel Kohlmeyer
2023-04-08 16:38:39 -04:00
parent d71de7cc38
commit 891c284754
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,8 @@ PairBornGauss::PairBornGauss(LAMMPS *lmp) :
single_enable = 1;
respa_enable = 0;
writedata = 1;
cut_global = 0.0;
}
/* ---------------------------------------------------------------------- */

View File

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