diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 00:33:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 00:38:41 +0300 |
commit | 1da8ed2a9737088a29f8782b290ba237bd0e813c (patch) | |
tree | 9bcb8424c7d58ae7a082e747e95f5aad1fac72d7 /source/blender/editors/space_graph | |
parent | 2fb4de1f8c1b3117da47aff39972d92cc078dd29 (diff) |
Cleanup: redundant casts
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index d38edf45e8f..aea9308afdb 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -3476,7 +3476,7 @@ static int graph_driver_vars_copy_exec(bContext *C, wmOperator *op) PointerRNA ptr = CTX_data_pointer_get_type(C, "active_editable_fcurve", &RNA_FCurve); /* if this exists, call the copy driver vars API function */ - FCurve *fcu = (FCurve *)ptr.data; + FCurve *fcu = ptr.data; if (fcu) { ok = ANIM_driver_vars_copy(op->reports, fcu); @@ -3516,7 +3516,7 @@ static int graph_driver_vars_paste_exec(bContext *C, wmOperator *op) PointerRNA ptr = CTX_data_pointer_get_type(C, "active_editable_fcurve", &RNA_FCurve); /* if this exists, call the paste driver vars API function */ - FCurve *fcu = (FCurve *)ptr.data; + FCurve *fcu = ptr.data; if (fcu) { ok = ANIM_driver_vars_paste(op->reports, fcu, replace); |