diff options
author | Hans Goudey <h.goudey@me.com> | 2020-08-29 00:20:25 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-29 00:20:25 +0300 |
commit | f34653e49801a12d1aef9b68279df633422ecc38 (patch) | |
tree | 470de04879a0030d32172c5b72947723ad54b42e | |
parent | 5c5d43fd66f56681dd6b3571175321689b59eb12 (diff) |
Clang Tidy: Fix readability-delete-null-pointer warning
-rw-r--r-- | source/blender/blenlib/intern/mesh_intersect.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/mesh_intersect.cc b/source/blender/blenlib/intern/mesh_intersect.cc index d973775a797..80b37ea6f44 100644 --- a/source/blender/blenlib/intern/mesh_intersect.cc +++ b/source/blender/blenlib/intern/mesh_intersect.cc @@ -212,9 +212,7 @@ void Face::populate_plane(bool need_exact) Face::~Face() { - if (plane != nullptr) { - delete plane; - } + delete plane; } bool Face::operator==(const Face &other) const |