diff options
author | Bastien Montagne <bastien@blender.org> | 2020-11-25 13:19:14 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-11-25 13:19:28 +0300 |
commit | 9e77fc533c1387776900fcc91ed9591f33dd8bf2 (patch) | |
tree | 490111a48723dc5e4dcfffb9ad9aca6edce760de /source/blender/blenkernel | |
parent | b1533f8fa4b157a1f6d4e383c4e60d384cb6dd97 (diff) |
Cleanup: remove useless cast.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 126063288d8..ccb077d6b82 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -609,7 +609,7 @@ bPoseChannel *BKE_pose_channel_find_name(const bPose *pose, const char *name) return BLI_ghash_lookup(pose->chanhash, (const void *)name); } - return BLI_findstring(&((const bPose *)pose)->chanbase, name, offsetof(bPoseChannel, name)); + return BLI_findstring(&pose->chanbase, name, offsetof(bPoseChannel, name)); } /** |