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_outliner | |
parent | 2fb4de1f8c1b3117da47aff39972d92cc078dd29 (diff) |
Cleanup: redundant casts
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 5c5c5ade726..4503de3beda 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -1791,7 +1791,7 @@ static void tree_element_to_path(TreeElement *te, /* ptr->data not ptr->owner_id seems to be the one we want, * since ptr->data is sometimes the owner of this ID? */ if (RNA_struct_is_ID(ptr->type)) { - *id = (ID *)ptr->data; + *id = ptr->data; /* clear path */ if (*path) { |