diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-08-10 12:02:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-08-10 12:02:38 +0300 |
commit | 54c26f58d023be0471be6e6205ff91a624d87f6b (patch) | |
tree | 6aa264ac816e5b86c2bc37167ac3b20a6fe7ffba /source | |
parent | f12f7800c2965c721a4eb4baeb6b1ab129bfa375 (diff) |
Cleanup: Fix warning in release builds
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_outliner/tree/tree_element_overrides.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/tree/tree_element_overrides.cc b/source/blender/editors/space_outliner/tree/tree_element_overrides.cc index e19459ced61..49cabd5117f 100644 --- a/source/blender/editors/space_outliner/tree/tree_element_overrides.cc +++ b/source/blender/editors/space_outliner/tree/tree_element_overrides.cc @@ -371,8 +371,7 @@ void OverrideRNAPathTreeBuilder::ensure_entire_collection( const char *coll_prop_path, short &index) { - AbstractTreeElement *abstract_parent = tree_element_cast<AbstractTreeElement>(&te_to_expand); - BLI_assert(abstract_parent != nullptr); + BLI_assert(tree_element_cast<AbstractTreeElement>(&te_to_expand) != nullptr); TreeElement *previous_te = nullptr; int item_idx = 0; |