silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2021-04-23 15:51:16 -04:00
parent 8541b0da3e
commit fe063b27c7
11 changed files with 21 additions and 26 deletions

View File

@ -494,7 +494,7 @@ void Group::assign(int narg, char **arg)
std::string fixcmd = "GROUP_";
fixcmd += fmt::format("{} {} GROUP",names[igroup],arg[2]);
for (int i = 3; i < narg; i++) fixcmd += std::string(" ") + arg[i];
for (i = 3; i < narg; i++) fixcmd += std::string(" ") + arg[i];
modify->add_fix(fixcmd);
// style = static