From 61a045b7d30311b7524b5c40ffb33ef15a53dd0a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 8 Aug 2020 12:14:52 +1000 Subject: Clenup: use STREQ macro --- source/blender/io/alembic/intern/abc_customdata.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/io/alembic') diff --git a/source/blender/io/alembic/intern/abc_customdata.cc b/source/blender/io/alembic/intern/abc_customdata.cc index f3e2342e844..408894a8de2 100644 --- a/source/blender/io/alembic/intern/abc_customdata.cc +++ b/source/blender/io/alembic/intern/abc_customdata.cc @@ -330,7 +330,7 @@ static void read_custom_data_mcols(const std::string &iobject_full_name, if (IC3fGeomParam::matches(prop_header)) { IC3fGeomParam color_param(arbGeomParams, prop_header.getName()); IC3fGeomParam::Sample sample; - BLI_assert(!strcmp("rgb", color_param.getInterpretation())); + BLI_assert(STREQ("rgb", color_param.getInterpretation())); color_param.getIndexed(sample, iss); is_facevarying = sample.getScope() == kFacevaryingScope && @@ -343,7 +343,7 @@ static void read_custom_data_mcols(const std::string &iobject_full_name, else if (IC4fGeomParam::matches(prop_header)) { IC4fGeomParam color_param(arbGeomParams, prop_header.getName()); IC4fGeomParam::Sample sample; - BLI_assert(!strcmp("rgba", color_param.getInterpretation())); + BLI_assert(STREQ("rgba", color_param.getInterpretation())); color_param.getIndexed(sample, iss); is_facevarying = sample.getScope() == kFacevaryingScope && -- cgit v1.2.3