Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)

* Fixed all clang-tidy bugprone-suspicious-string-compare warnings

This change was generated entirely by clang-tidy itself.

* Reformat code with clang v10.0.1.

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
This commit is contained in:
Sean McBride
2021-03-10 13:42:35 -05:00
committed by GitHub
parent a7a013782f
commit d7b40604ef
78 changed files with 518 additions and 507 deletions

View File

@@ -690,7 +690,7 @@ TestHDFFV_9758()
if (s2.a != s1[i].a || s2.e != s1[i].e)
goto error;
else if (HDstrcmp(s2.d, s1[i].d))
else if (HDstrcmp(s2.d, s1[i].d) != 0)
goto error;
}
} // end of ptable block