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:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-07-03 17:44:46 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-07-03 17:47:59 +0300
commit9739fc4d1bd78283cbe3711e2aa9a38629791741 (patch)
treeaa25ebe832a16ddec65b8af9bc6b484ff418db19 /source/blender/depsgraph
parent14fd91e7e82a97e8f629bb86d6df50a6336d28f5 (diff)
Clang-Tidy: More fixed of redundant check before delete
For some reason got unnoticed in the original cleanup pass.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/node/deg_node_component.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node_component.cc b/source/blender/depsgraph/intern/node/deg_node_component.cc
index 490598af8f9..34514ba9bd7 100644
--- a/source/blender/depsgraph/intern/node/deg_node_component.cc
+++ b/source/blender/depsgraph/intern/node/deg_node_component.cc
@@ -98,9 +98,7 @@ void ComponentNode::init(const ID * /*id*/, const char * /*subdata*/)
ComponentNode::~ComponentNode()
{
clear_operations();
- if (operations_map != nullptr) {
- delete operations_map;
- }
+ delete operations_map;
}
string ComponentNode::identifier() const