Cleanup: resolve tautological-pointer-compare warning for CLANG

The array can never be null.
This commit is contained in:
Campbell Barton
2025-04-01 11:54:34 +11:00
parent e83dee1b8f
commit 86ec6d4290

View File

@@ -200,7 +200,6 @@ std::optional<StringRefNull> default_channel_group_for_path(const PointerRNA *an
{
if (animated_struct->type == &RNA_PoseBone) {
bPoseChannel *pose_channel = static_cast<bPoseChannel *>(animated_struct->data);
BLI_assert(pose_channel->name != nullptr);
return pose_channel->name;
}