use true/false instead of 1/0 detected and changed by clang-tidy

This commit is contained in:
Axel Kohlmeyer
2021-10-20 12:41:02 -04:00
parent 84666543d1
commit 85433e8bd1
65 changed files with 130 additions and 130 deletions

View File

@ -207,7 +207,7 @@ void FixEOStable::read_table(Table *tb, Table *tb2, char *file, char *keyword)
// loop until section found with matching keyword
while (1) {
while (true) {
if (fgets(line,MAXLINE,fp) == nullptr)
error->one(FLERR,"Did not find keyword in table file");
if (strspn(line," \t\n\r") == strlen(line)) continue; // blank line