Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-03-05 00:33:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-05 00:38:41 +0300
commit1da8ed2a9737088a29f8782b290ba237bd0e813c (patch)
tree9bcb8424c7d58ae7a082e747e95f5aad1fac72d7 /source/blender/editors/space_action
parent2fb4de1f8c1b3117da47aff39972d92cc078dd29 (diff)
Cleanup: redundant casts
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/action_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_data.c b/source/blender/editors/space_action/action_data.c
index 71802dd844f..228cc77744f 100644
--- a/source/blender/editors/space_action/action_data.c
+++ b/source/blender/editors/space_action/action_data.c
@@ -250,7 +250,7 @@ static int action_new_exec(bContext *C, wmOperator *UNUSED(op))
* or else the user gets decremented twice!
*/
if (ptr.type == &RNA_SpaceDopeSheetEditor) {
- SpaceAction *saction = (SpaceAction *)ptr.data;
+ SpaceAction *saction = ptr.data;
saction->action = NULL;
}
}