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

@ -714,7 +714,7 @@ void FixDeform::end_of_step()
// set new box size for VOLUME dims that are linked to other dims
// NOTE: still need to set h_rate for these dims
for (int i = 0; i < 3; i++) {
for (i = 0; i < 3; i++) {
if (set[i].style != VOLUME) continue;
if (set[i].substyle == ONE_FROM_ONE) {