Cleanup: fixed Clang-Tidy bugprone-suspicious-string-compare warnings

No functional changes.
This commit is contained in:
2020-08-07 17:16:46 +02:00
parent 7309ee4df7
commit a9c91ce331
6 changed files with 8 additions and 9 deletions

View File

@@ -1201,7 +1201,7 @@ static void do_version_fcurve_hide_viewport_fix(struct ID *UNUSED(id),
struct FCurve *fcu,
void *UNUSED(user_data))
{
if (strcmp(fcu->rna_path, "hide")) {
if (strcmp(fcu->rna_path, "hide") != 0) {
return;
}