silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2022-09-09 20:12:37 -04:00
parent fb9c40d936
commit 9f5375f204
3 changed files with 1 additions and 2 deletions

View File

@ -1898,6 +1898,7 @@ void Atom::set_mass(const char *file, int line, const char *str, int type_offset
}
default: // invalid
itype = -1000000000;
error->one(file, line, "Invalid {}: {}", location, utils::trim(str));
break;
}