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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user