Cleanup: Fix warning in release builds
This commit is contained in:
parent
f12f7800c2
commit
54c26f58d0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue